tomcat8+idea远程调试

window下 setenv.bat增加

set JPDA_OPTS=-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

linux下setenv.sh增加

JPDA_OPTS="-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

 

启动tomcat

catalina.bat jpda start

catalina.sh jpda start

posted @ 2018-06-08 13:37  九人稚。  阅读(997)  评论(0编辑  收藏  举报