2

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?

Community
  • 1
  • 1
Elvis
  • 21
  • 1
  • 3
  • possible duplicate of [Debugging Scala code with simple-build-tool (sbt) and IntelliJ](http://stackoverflow.com/questions/4150776/debugging-scala-code-with-simple-build-tool-sbt-and-intellij) – Anthony Mastrean Dec 06 '12 at 02:09

1 Answers1

1

See my answer in the related question:

Debugging Scala code with simple-build-tool (sbt) and IntelliJ

Community
  • 1
  • 1
Jamie Forrest
  • 10,895
  • 6
  • 51
  • 68