abo-abo / lispy

Short and sweet LISP editing
http://oremacs.com/lispy/
1.21k stars 132 forks source link

debugging clojure code with cider-debug and or with lispy? #114

Open drorbemet opened 9 years ago

drorbemet commented 9 years ago

I'd like to get used to the workflow proposed in http://oremacs.com/2015/06/22/debug-clojure/ ... editing the code while the debugger is running both elisp and in clojure.

How do I decide when to use which debugger? How do I avoid keybinding conflicts with lispy when using clojure-debug in cider 0.10.0? https://github.com/clojure-emacs/cider#cider-debug Until now I think I have to disable lispy-mode each time I enter clojure-debug.

abo-abo commented 9 years ago

To have no problems using lispy and cider-debug at once, load it like this:

(setq lispy-compat '(edebug cider))
(require 'lispy)

I'm not sure if it's possible to edit the code while it's instrumented with cider-debug. For sure it's impossible with edebug: while in debugger, the code is read-only.