【发布时间】:2011-07-07 10:00:56
【问题描述】:
我在Debugging Scala code with simple-build-tool (sbt) and IntelliJ 找到了相关答案。但我还是不明白。这是否意味着我需要先在 sbt.bat 中配置以下内容 设置 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" %* 然后在IDEA的运行/调试配置中默认启动“远程”? 完成这两个步骤后,当我刷新我的 Web 应用程序页面时,程序可以在断点处停止吗?
【问题讨论】: