Monday, April 8, 2013

Remote Debugging Tomcat running as a Windows Service


To enable Remote Debugging in Tomcat7 running as a service



1. Run %TOMCAT_HOME/bin/Tomcat7w.exe
( ex. C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin)

2. Java Tab

3. Add these to 'Java Options' before the -D options


-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n


4. Apply

5. Start Tomcat service

No comments:

Post a Comment