在Ubuntu 12.04+中,这样的部分
/etc/default/tomcat7:
# To enable remote debugging uncomment the following line.# You will then be able to use a java debugger on port 8000.#JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"因此,只需取消注释即可运行
sudo service tomcat7 restart。



