Can't debug Java project in IDEA IntelliJ 12
Problem was catalina.sh was calling setenv.sh which was setting JAVA_OPTS like this:
JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000"
I don't know where this setenv.sh came from, as a co-worker's homebrew install of tomcat didn't have this file.
For now, I've configured IntelliJ debug to use catalina_idea_debug.sh, which is simply a copy of catalina.sh minus the call to setenv.sh. Works fine now.