Debugging Tomcat using Eclipse ‘Remote Java Application’
It’s often useful debugging tomcat using eclipse remote java application.
Here are instructions for doing so:
1) Open %tomcat_home%\bin\tomcat6w.exe which will open a configuration UI.
2) Select the Java tab and enter two Java Options at the bottom:
a. –Xdebug
b. -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8005i. 8005 is the port – you can pick any available port
3) Restart your tomcat service.
4) From Eclipse, set up a Debug Configuration under Remote Java Application (as usual for debugging)
Categories: Eclipse


http://5k.iruncolorado.com/