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