简体   繁体   中英

SBT, Play Framework 2.6 -jvm -debug on Windows 7

I'm trying to set up a debug mode in Eclipse for an example project. I'm looking at this guide .

When I try to run -jvm-debug 9999 (I already ran sbt command in the project) I have this problem:

Console example image

Command:

[play-java] $ -jvm-debug 9999 run

Result:

[warn] The - command is deprecated in favor of onFailure and will be removed in 0.14.0

I already put in 4 hours trying to solve this. I have no idea what to do anymore. I've tried with sbt 1.0, now I'm using 0.13.16 (.exe installed).

Found.

How can I enable remote debugging for SBT in windows?

"set SBT_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 sbt run"

GG

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM