1.tomcat 的catalina.sh 添加端口监听
export JPDA_ADDRESS=9901
2.tomcat 启动脚本使用debug启动 jpda
start.sh 尾行
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"
3.在idea 中新增 tomcat remote


4.重启服务器上 tomcat
5.debug 启动 idea tomcat remote
1.tomcat 的catalina.sh 添加端口监听
export JPDA_ADDRESS=9901
2.tomcat 启动脚本使用debug启动 jpda
start.sh 尾行
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"
3.在idea 中新增 tomcat remote
4.重启服务器上 tomcat
5.debug 启动 idea tomcat remote
本文标题:idea tomcat remote
本文链接:https://www.haomeiwen.com/subject/psbfdctx.html
网友评论