首页 > > > 设置tomcat远程debug
查看端口占用情况命令:
netstat -tunlp |grep 8000
tomcat 启动远程debug:
startup.sh 中的最后一行 exec "$PRGDIR"/"$EXEXUTABLE" start "$@"中的start修改成
jpda start ,默认的调试端口是8000 ,可以在catalina.sh 的文件中设置JPDA_APPDESS=8000
使用startup.sh 或者catalina.sh jpda start 启动tomcat
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69901620/viewspace-3151917/ ,如需转载,请注明出处,否则将追究法律责任。