tomcat远程debug端口开启

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

startup.sh里加这么一句话,首行即可

原文地址:https://www.cnblogs.com/younldeace/p/5457553.html