tomcat 远程调试

--------------------

tomcat远程调试

SETCATALINA_OPTS=-server-Xdebug-Xnoagent-Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777

在startup.sh开始处中增加如下内容:

declare-xCATALINA_OPTS="-server-Xdebug-Xnoagent-Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=6777"

相关推荐