tomcat remote debug on linux (centos)

edit file:

/etc/sysconfig/tomcat7

add this to CATALINA_OPTS

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

Comments