开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜