Fork me on GitHub

Hello! I'm using doom emacs and recently started to work with clojure, I'm trying to figure it out how to integrate cider in my dev flow, eg: trying to debug code from a unit test. Do you have some article about that, or could you describe how do you do?

👋 3

Documentation around debugging can be found here:


The extra short version is that if you compile a defn with C-u C-c C-c or C-u C-M-x (instead of C-c C-c or C-M-x), it’ll instrument it, and when you run your tests it’ll break when that function is called


@U8C850K42 example of using cider-debugger with Emacs (its Spacemacs, but it includes the full command, so should be applicable)


I'll take a look at those, thank you!