How to enable remote debuggin for Tomcat as a service
文章来源: GuoLuke22009-05-18 14:21:34
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