Hacker News new | ask | show | jobs
by swannodette 4150 days ago
Kyle's suggestions have a ton of value, but do note that debugging Clojure(Script) can also be a pedestrian activity if you so desire. All the usual mainstream bell/whistles IDE-based interactive debugging is available today in CursiveClojure - break on all exceptions, eval in frame, etc.

Also ClojureScript has had accurate source mapping in Safari, Chrome, Firefox, and Node.js for quite a long time now and recently moved to support targets like iOS. It's a huge time saver even for an experienced Clojure programmer :)

1 comments

And if you favour open source IDEs the Eclipse based Counterclockwise http://doc.ccw-ide.org/ will provide the same debugging experience for Clojure.
I love ccw as a coding tool and the full editor repl is great too but I haven't been able to get breakpoints to work on it ever. Another thing that irks me about it lately is no real clojurescript support! That said it is still my primary clojure tool and things like figwheel help close the gap.
My debugging experience with Counterclockwise wasn't very positive. But admittedly the last time I tried was a very long time ago and things may have changed significantly.
I find debugging with Cursiveclojure to be easier.