[WAS] Tomcat 디버깅

catalina.sh
CATALINA_OPTS에

-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

추가하고 Eclipse DebugConfiguration에서 remote추가, hostname, port 넣어주면 됨.