tomcat window远程断点

1.找到tomcat的startup.bat

shift
goto setArgs
:doneSetArgs

set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=9981
set JPDA_SERVER=y
call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%

:end

找到最后一行,按上面的代码替换就行

2.eclipse远程断点

参考博客https://blog.csdn.net/qq_16855077/article/details/86490467

你可能感兴趣的:(#,tomcat)