天天看點

apache-tomcat-7.0.88-windows-x64 debug mode

同樣适用于:

apache-tomcat-8.0.52-windows-x64

apache-tomcat-8.5.32-windows-x64

修改bin/startup.bat

添加如下配置:

SET "CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"

如圖:

apache-tomcat-7.0.88-windows-x64 debug mode