Friday, December 30, 2011

Starting with JPDA enabled Tomcat within Eclipse for Maven project

No comments:
Starting with JPDA enabled Tomcat within Eclipse for Maven project

Step 1 :  Build the projects and place the war files in tomcat webapps folder.

Step 2 : Start  your tomcat server.

Step 2 : Open the Eclipse , Specify java home in installed jres in eclipse(eclipse - > windows - > preferences)

Step 3 : Open Debug configuration in Eclipse 

Step 4 : Select Connect tab select the project. Specify host as localhost and port as 8000(Which is specified in tomcat(catalina.bat jpda port 8000) ).

Step 5 : Select Source tab, select all the project folder you want.  

Step 6 : Click debug.

Step 7 : Place break-points in code..

Thats Done....










Debug IT.... 

Thanks,

Arun..
Read More