set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
set JAVA_HOME=E:\jdk6
set JPDA_ADDRESS=8000
set JAVA_HOME=E:\jdk6
To start Tomcat in debug mode, please use the following command
catalina jpda start
Attaching the debugger from NetBeans is similar to that in Debugging in JBoss with Netbeans.
[Note:Remember to change the port number as required]