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
I solved the issue by this way.
See these links for more information:
Delete Tomcat
Add a new Tomcat