Redian新闻
>
eclipse remote debug java (tomcat) , has to connect with eclipse for tomcat to start?
avatar
eclipse remote debug java (tomcat) , has to connect with eclipse for tomcat to start?# Java - 爪哇娇娃
c*n
1
I started tomcat, but it just does not go forward unless I actually used
eclipse to connect to it.
then after that I could disconnect and tomcat goes on fine
this does not make much sense.... debugger should be optional, right?
avatar
c*n
2
this is my start script:
export JAVA_OPTS=' -Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server
=y '
apache-tomcat-6.0.32/bin/startup.sh

【在 c******n 的大作中提到】
: I started tomcat, but it just does not go forward unless I actually used
: eclipse to connect to it.
: then after that I could disconnect and tomcat goes on fine
: this does not make much sense.... debugger should be optional, right?

avatar
r*d
3
加上suspend=n再试试
avatar
k*p
4
First add Tomcat to Eclipse runtime server,
From Eclipse run menu,
Debug as -> Debug o server (tomcat)
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。