I have setup debugging for tomcat 5 as remote server, with these parameters:
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
Now, when I run debugging:
1) debugger connects fine:
"Connected to the target VM at 'localhost:5005' using socket transport"....OK
2) when I close debugger window(stop debugging), debugger says:
"Disconnected from the target VM at 'localhost:5005' using socket transport."....OK
PROBLEM:
3) At this moment Idea popups modal dialog, title is:
"Terminating Tomcat"
"Waiting for VM to detach"
Now, this takes forewer (I beleive it will never go away), only option is to press "cancel" button.
This may not be a big issue, but it is quite irritating.
http://www.jetbrains.net/jira/browse/IDEA-2765