tomcat remote debugging

Add at the end of catalina.sh

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


Start tomcat and use this command: catalina.sh jpda start

Then select Romote Java Application in Eclipse and fill in the corresponding ip and port.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326487708&siteId=291194637
Recommended