Eclipse Tomcat debug on start
I have web application - use Spring + Tomcat. I need debug method that starts on Tomcat start. There is the problem - debugger is blocked until Tomcat not started, but I can't allow finish start Tomcat - because this method invoked only on start. Is t开发者_Python百科here a way to resolve? Thanks.
Start tomcat using this command catalina jpda start
and then connect via remote debugger from eclipse, after setting breakpoints where ever you need them.
Have you tried SpringSource Tool Suite (STS) which is an eclipse based IDE ? It provides Spring Insight which is of great help when working on Tomcat with Spring
精彩评论