IntelliJ 2020.3 Only - Doesn't terminate program after clicking "Stop" when debugging
Opened my Maven project that is an embed tomcat.
I can run and debug and stop on breakpoints. When I click on stop 'Target', I notice that the IDE says:
Starting compilation of MyProject...
Disconnected from the target VM, address: '127.0.0.1:63733', transport: 'socket'
Listening for transport dt_socket at address: 63733
Process finished with exit code 130
However I now need to manually kill the OpenJDK process (I'm on Windows) to be able to debug it again.
This issue only happens when I'm debugging and not running. When I run, I can stop the application properly.
I reinstalled 2020.2.4 and the same project with the same configuration doesn't cause any issues when I start and stop the debugger.
I even checked "Kill the debug process Immediately" without success.
Please sign in to leave a comment.
What Run/Debug configuration type do you use? Is it Application or Maven?
Do you delegate build/run to Maven: https://i.imgur.com/97RdrDb.png ?
Application
Yes. That is checked
Unchecking solves the problem!
Many thanks!