Tomcat debugger disconnect prematurely

已回答

Hi,

I want to debug some shutdown hooks I have in a web app hosted on a tomcat, but it seems that as soon as I hit the 'Stop' button, the debugger is instantly disconnected.

Is there a way to delay the disconnection, until the process actually finishes?

I use a Local Tomcat debug configuration, with the following JAVA_OPTS: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:63321,suspend=y,server=n

I am on Intellij IDEA 2020.1 and the debugger are settings are mostly those by defaults.

 

Thank you

0

Hello,

Please attach screenshot from "Settings / Preferences | Build, Execution, Deployment | Debugger"

0
Avatar
Permanently deleted user

Hi,

Here is the capture:

0
0
Avatar
Permanently deleted user

Thank you, I tried to look on YouTrack, but did not manage to find this issue.

So it seems that the feature exists, but does not work on Windows. I'll follow the issue and see if it evolves.

0

请先登录再写评论。