I have a problem that I can not set up my application in debug mode with IntelliJ IDE, but run mode is OK.
My OS is Windows 7, IDE is IntelliJ IDEA, web container is Tom
None of above methods worked in my case i.e. changing port number in run configuration, machine restart, invalidate cache in IntelliJ, killing process shown in netstat (nestat -anob | findstr
and then tskill
). The only thing that finally helped was starting and shutting down tomcat manually via startup.bat
and shutdown.bat
(you should use correspondig .sh
files on linux and macOS).