By murali529 on Jul 13, 2009
If you want to attach a remote debugger to tomcat when running as a windows service.
1. Right click on the tomcat service icon in the applications panel.
2. Click on configure.
3. Go to java tab and add these two java options
If tomcat is installed as a separate bundle.
1. Go to catalina.bat and set JPDA_TRANSPORT=dt_socket and set JPDA_ADDRESS=<required debugger port>
2. In startup.bat change the executable line as follows
call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%