复制一份startup.bat,更名为“startup-debug”。

替换内容如下:

call "%EXECUTABLE%" start %CMD_LINE_ARGS%

替换为

set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
set JPDA_SUSPEND=y
call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%

执行“startup-debug.bat”,即可开启远程调试。

参考:http://blog.sina.com.cn/s/blog_6e2d53050101j9wy.html

相关文章:

  • 2021-11-26
  • 2021-11-26
  • 2021-09-29
  • 2021-06-18
  • 2022-12-23
猜你喜欢
  • 2021-11-26
  • 2022-01-16
  • 2021-08-15
  • 2021-07-18
  • 2021-12-20
  • 2021-11-11
  • 2022-12-23
相关资源
相似解决方案