linux
添加到 shell脚本 中
setenv JAVA_OPTS "-Xms512m -Xmx1024m -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9898"
TOMCAT_BIN
CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9898"
windows
添加到 bin/catalina.out 中
set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=9898,suspend=n,server=y