Reputation: 21
I found related answer in Debugging Scala code with simple-build-tool (sbt) and IntelliJ . But I still don't get it. Does it mean I need to first config the following in sbt.bat set SCRIPT_DIR=%~dp0 java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -Xmx512M -jar "%SCRIPT_DIR%sbt-launch-0.7.5.RC0.jar" %* And then launch the "Remote" in Run/Debug configurations in IDEA all with default? After those two steps, the program can stop in the breakpoint when I refresh my web application page?
Upvotes: 2
Views: 3781
Reputation: 11113
See my answer in the related question:
Debugging Scala code with simple-build-tool (sbt) and IntelliJ
Upvotes: 1