In build.sbt
add the following lines:
Keys.fork in Test := false
parallelExecution in Test := false
- Start the play console in debug mode
$ play debug
. - Create a RemoteDebug run configuration in IntelliJ. This is only a debugger, not a compiler.
- Run this configuration listening on port 9999.