Debug Tomcat HowTo

Step 1: Add these lines to [CATALINA_HOME]/bin/startup.bat:

SET JPDA_TRANSPORT=dt_socket
SET JPDA_ADDRESS=8000

and change this
call "%EXECUTABLE%" start %CMD_LINE_ARGS%
to this
call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%

Step 2: Startup Tomcat
Step 3: In Eclipse, go to Run | Debug... | Click on 'Remote Java Application' | New | Type in a name for the configuration, Select a project(keel-server) | Click Debug