We can use simple steps to debug the applications with tomcat.
Step 1 .
Run the startup with following args in command prompt under tomcat bin dir
catalina.bat jpda start
or
startup.bat jpda start
Note : Your tomcat with start with the port 8000 for debug .
Step 2.
Open Eclipse - > Goto Debug configuration
setup \
host : localhost
port : 8000 and apply.
Note : Your applciation will be ready to debug with tompact .
Cheers
Kapil
No comments:
Post a Comment
Thanks for your comment, will revert as soon as we read it.