Wednesday, July 21, 2010

Setting tomcat in debug mode

To set Tomcat in debug mode:
1. Run {catalina_home}/bin/tomcat6w.exe
2. In Java tab, add the following lines to Java options:

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


Thats it!