r/Clojurescript•
rerb

Is there anything like Python's pdb for Clojurescript?

pdb (the Python debugger) allows me to set a breakpoint in code, then throws me into a REPL when it's reached. Is there something similar for Clojurescript?

Posted Feb 8, 2016, 3:01 PM UTC

42
dr_win•

Dirac DevTools could be used for this. It does not provide CLI-oriented debugging interface, you have to use DevTools UI. But if you want to execute ClojureScript from REPL in the context of paused debugger - it should be sufficient.

https://github.com/binaryage/dirac

Warning: it is pretty young project and might still have rough edges. Feedback welcome. I'm the developer.

3
rerbOP•

Thank you, Dirac looks very useful.

2