有很多帖子,说明很直接,但对于我的生活,我无法让调试器停在断点处.
我的环境是
我按如下方式启动激活器
activator -jvm-debug 9999 run
Run Code Online (Sandbox Code Playgroud)
我已经设置了一个带有标准套接字附加的远程Java应用程序调试配置.调试配置运行,附加到远程并启动一堆sbt线程.
但是,它不会在调试器中停止!这似乎并不难,我做错了什么?
编辑:我在一个项目中遇到这个问题,我已经研究了一段时间,并且在一个全新的,未受影响的play-anguale-require-seed项目实例中.这是该项目的build.sbt:
import WebKeys._
// TODO Replace with your project's/module's name
name := """play-angular-require-seed"""
// TODO Set your organization here; ThisBuild means it will apply to all sub- modules
organization in ThisBuild := "your.organization"
// TODO Set your version here
version := "2.3.7-SNAPSHOT"
// Scala Version, Play supports both 2.10 and 2.11
//scalaVersion := "2.10.4"
scalaVersion := "2.11.4"
lazy val root = (project …Run Code Online (Sandbox Code Playgroud)