Tomcat 支持远程调试

 
修改 startup.sh 文件
1.
在exec "$PRGDIR"/"$EXECUTABLE" start "$@" 上一行加入
set JPDA_TRANSPORT=dt_socket
2.
set JPDA_ADDRESS=8000
3.
exec "$PRGDIR"/"$EXECUTABLE" start "$@"
改为
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"

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