Debugging Scala with IntelliJ and the SBT Plugin

Here's the correct setup, including the remote build configuration:

You may have to restart the IDE to get the debugger to stop when running from the SBT console. Yes, you can actually run your tests on the SBT console that comes with the SBT plugin for IntelliJ (test-only etc.), set breakpoints on your test code, and the debugger will open when it hits the break points. This is really cool.


Posted: 10 October 2011

comments powered by Disqus