在调试模式下启动tomcat 6? [英] Start tomcat 6 in debug mode?
本文介绍了在调试模式下启动tomcat 6?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在调试模式下启动tomcat 6服务器,并使用Eclipse Ide进行远程调试。 ?
How to start the tomcat 6 server in debug mode and use it with Eclipse Ide for remote debugging. ?
现在我正在使用命令行启动服务器:
Right now i am using command line to start the server :
tomcat6.exe
tomcat6.exe
推荐答案
使用tomcat6.exe版本,您可以通过运行tomcat6w.exe应用程序并在列表中添加以下2个java选项来启用远程调试Java选项卡:
With the tomcat6.exe version you can enable remote debugging by running the tomcat6w.exe application and adding the following 2 java options in the list on the Java tab:
-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
这是根据 http://wiki.apache.org/tomcat/FAQ/Developing ,它在我的情况下工作(Tomcat 6.0.26 for windows)
This is according to http://wiki.apache.org/tomcat/FAQ/Developing and it worked in my case (Tomcat 6.0.26 for windows)
这篇关于在调试模式下启动tomcat 6?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文