Configure Tomcat for Debug:
1. Open your tomcat admin console:/bin/tomcat5w.exe
C:\Apps\tnl\Tomcat5\bin\tomcat5w.exe
2. Click the Java Tab
Add the following arguments to the Java Options
-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
3. Click the Startup Tab
Add the arguments (on two separate lines, in the order below):
jpda
start
Select Mode -> JVM
After doing above step just run You application in Debug mode
1. Open your tomcat admin console:
C:\Apps\tnl\Tomcat5\bin\tomcat5w.exe
2. Click the Java Tab
Add the following arguments to the Java Options
-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
3. Click the Startup Tab
Add the arguments (on two separate lines, in the order below):
jpda
start
Select Mode -> JVM
After doing above step just run You application in Debug mode
No comments:
Post a Comment