在Tomcat的bin目录下,vi catalina.sh,增加下面一行代码
declare -x CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=6461";
在Tomcat的bin目录下,vi catalina.sh,增加下面一行代码
declare -x CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=6461";