Unable to Debug
Answered
I was debbuging my project and for some reason the pc restarted. And after turning on the pc again I tried to debug the project and a message pop up the following:
Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:8080
Running the project works fine, but debug doesn't work anymore.
Please sign in to leave a comment.
Try reinstalling the server. See if you can start/stop the server from the command line scripts outside of IntelliJ IDEA.
Remove the server configuration in IntelliJ IDEA and add it again. Remove Run/Debug Tomcat configuration and add a new one.
Delete idea.system.path, some cached files may be corrupted there (https://intellij-support.jetbrains.com/hc/articles/206544519).
I have almost the same problem, except I can't even run the server, not just debug. I have IntelliJ IDEA installed in default windows location (Program Files) and I tried adding new configuration (and only adding my artefacts) and even deleting the idea.system.path directory.
I'm able to run the server from the command line just fine.
Looks like there is some problem with default startup command line parameters?
Log:
I tried everything Serge, and none of those fixed the issue. The issue was happening with the latest version of IntelliJ (2017.1.5). I went back to 2017.1.4 and it seems to work again.
Please follow the related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-180537