Debug Mode timeout Tomcat
I try to start my Tomcat in debug mode but it throws the following error:
Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor
I even tried to update the timeout time but it still gets timed out. But, when I try to start the tomcat (in non debugging mode) it starts normally. Any idea what might be causing problem?
Figured out the reason. If we have too many breakpoints the debug mode strangely takes too much time to start. Disable all the breakpoints and start in debug mode, when started enable the breakpoints as needed.
Could it be waiting for you to connect?
The docs say to type:
but if you typed suspend=y, it would wait forever eventually timing out.