小编Eva*_*mas的帖子

调试不使用play framework activator,scala和eclipse

有很多帖子,说明很直接,但对于我的生活,我无法让调试器停在断点处.

我的环境是

  • 日食4.4.1
  • 斯卡拉2.11
  • scala IDE 4.1.0.nightly
  • 播放框架2.3.3
  • 在Scala IDE 0.4.6中支持

我按如下方式启动激活器

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)

eclipse debugging scala playframework playframework-2.3

7
推荐指数
2
解决办法
1378
查看次数