Dirk Bergmann

Developer, panographer. Does consultancy work from own company. Lives in Chiang Mai, Thailand.

Twitter

Chiang Mai

Hua Hin

Thailand Hotels

ListVote - List. Vote. Learn.

Partnerseek - Find Partners

Debugging Scala with IntelliJ and the SBT Plugin

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

http://blog.morroni.com/2011/06/30/debugging-scala-projects-in-intellij/comment-page-1/

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.

Snapshot2