Fork me on GitHub
#cursive
<
2015-07-18
>
pupeno14:07:15

Is it possible to run lein tests in debug mode?

cfleming16:07:31

@pupeno: No, it’s not, unfortunately. There’s no dedicated test runner right now, although I’m hoping to get this in very soon (like, in the next two builds soon).

cfleming16:07:33

Unfortunately the lein run configurations can’t be debugged, because of the way lein starts up and then forks the process to run the actual task (which is the one you’d want to debug).

cfleming16:07:37

If you’re using the interactive test functionality (https://cursiveclojure.com/userguide/testing.html, slightly out of date) using a debug REPL, you can debug tests that way.