How can I enable remote debugging for SBT in windows?

前端 未结 3 2063
庸人自扰
庸人自扰 2020-12-29 07:13

I would like to accomplish running the equivalent of this

sbt -jvm-debug 5005

However I don\'t seem to be able to pass in args in Windows.

3条回答
  •  无人及你
    2020-12-29 07:34

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

    was the only working solution on Windows 7.

提交回复
热议问题