Tomcat远程调试参数

Linux:

关闭防火墙

vim catalina.sh

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

I bumped up the debug timeout (Windows/Preferences/Java/Debug/Communication/Debugger timeout) and restarted both the admin server and the managed server where the application is deployed and is listening on the debug port.

Debugger timeout

Launch timeout

Windows/Preferences/Network Connections

Active provider :direct

原文地址:https://www.cnblogs.com/passedbylove/p/7608071.html