How to enable remote debuggin for Tomcat as a service

If you want to improve your English abilities, especially writing skills, let's work together!
打印 被阅读次数

Run tomcat5w.exe and click on Java tab. Then make sure JDK\lib\tools.jar is in Java Classpath. Then add the following options under Java Options (make sure don't add trailing or leading whitespaces) and restart your tomcat service:-Xdebug-Xnoagent-Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n

登录后才可评论.