I have a, for me, strange problem with the debugger port being already in use when I debug a tomcat app in intellij.It is possible to start the tomcat instance but when I shut tomcat down and start it again, intellij complains over the port being in use. It is the same when I use shared memory; it's possible to start tomcat once and then I get an error saying that intellij is still using shared memory.
I had a similar problem once and the problem then was the -Xmx and -Xms settings in catalina. I found the solution in
But this time there is some other thing going wrong.
Any idea what this is?