Debugger disconnects before server process ends

Hi all,

I'm trying to debug the tomcat server shutdown with IDEA and it appears that the debugger detaches before the process shuts down.  In fact, it seems to disconnect immediately upon pressing the Stop button (even though the server process is still running).  This makes it difficult to debug the shutdown process.  Does anyone know if this is the intended behavior or is there a way to tell the debugger not to disconnect?  I want the debugger to only disconnect when the server process has been terminated.

Thanks again!

Please sign in to leave a comment.