1、对于windows 打开$tomcat_home/bin/catalina.bat,并加入:
SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555
对于linux 打开 $tomcat_home/bin/catalina.sh CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555"
注意引号很重要否则会报错如 -Xdebug: not found
(更正)
以下是tomcat5.5的debug设置
CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555"
linux 下
oracle : http://127.10.1.1:8080/apex
apex
1. 顶,顶点
at the apex of the mountain
在山顶
2. 尖端
the apex of the tongue
舌尖
3. 【喻】顶峰;最高潮
He reached the apex of power in the early 1930s.
他在三十年代初达到了权力的顶峰。
4. 【美】【矿】脉尖,脉顶
SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555
对于linux 打开 $tomcat_home/bin/catalina.sh CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555"
注意引号很重要否则会报错如 -Xdebug: not found
(更正)
以下是tomcat5.5的debug设置
CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555"
linux 下
oracle : http://127.10.1.1:8080/apex
apex
1. 顶,顶点
at the apex of the mountain
在山顶
2. 尖端
the apex of the tongue
舌尖
3. 【喻】顶峰;最高潮
He reached the apex of power in the early 1930s.
他在三十年代初达到了权力的顶峰。
4. 【美】【矿】脉尖,脉顶