IntelliJ remote debugger connects, but breakpoints are not working
Ah finally, After big struggle ! I found it for me !
I needed to disable forking in build.sbt
fork in Test := false,
It makes total sense, as it's only the first JVM who would get to be attach to the IDE.
I hope it help someone !
This is what I use for remote debugging:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005.
The value you use above in your answer, -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
, is used in the For JDK 1.4.x
field.