tomcat开启远程debug

catalina.sh中配置

 

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

 

 

 

CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9003 -DproxySet=true -DproxyHost=#代理服务器ip地址# -DproxyPort=3128"

你可能感兴趣的:(tomcat)