tomcat 命令启动调试模式

cd %CATALINE_HOME%/bin
set JPDA_ADDRESS=8900
set JPDA_TRANSPORT=dt_socket
set CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787
startup

debugModel.bat

你可能感兴趣的:(tomcat)