给tomcat开放远程debug

1. startup.sh

对最后一行的 exec "$PRGDIR"/"$EXECUTABLE" start "$@", 在start之前插入 jpda

2. catalina.sh

在开头写入:

JPDA_ADDRESS=6767

JPDA_SUSPEND=n

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.