Simple Way To Set Up Remote Debugging in Tomcat

Setting Up Tomcat For Remote Debugging on Windows – Simple Way:
You ever want to debug your web application remotely using Tomcat on Windows. Here is the simple trick:
[1] Edit TOMCAT_DIR/bin/startup.bat
[2] Replace


call "%EXECUTABLE%" start %CMD_LINE_ARGS%

with

set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%

[3] Restart Tomcat; Happy debugging 😉
For more details refer this:
http://wiki.apache.org/tomcat/FAQ/Developing