Search code examples
sbtjpda

How to debug tests ran from sbt


Tests run from sbt don't show an stacktrace when an exception happens, so I would like to connect to sbt from a debugger to debug the tests. What is an easy way of doing that?


Solution

  • Using the sbt deb/rpm provided by typesafe, this works:

    sbt -jvm-debug 8000