3 ms·
Could you provide links to this better debugger
by blain_the_train 9y ago
Could you provide links to this better debugger
- blain_the_train 9y agoFound them in other comments, I don't see anything that's native to clojure though, not like pdb is for python at least
- emidln 9y agoDebugging, like most things in clojure, is a library. You can view the implementation (as an nREPL middleware) here[1]. It's possible to use this debug middleware from any random nrepl client, but I'm not aware of any that actually implement a command-line debugger such as you get with python's pdb. I suspect, but don't have any time or inclination to verify, that implementing a basic command-line debugger using this library would be a weekend hack. I suspect this debugger is far more useful integrated into your editor than stand-alone since clojure isn't really a file/line-oriented language (which would make selecting forms hard). [1] https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/debug.clj https://github.com/clojure-emacs/cider-nrepl/blob/master/src...