如何在JBOSS 5中启用远程调试? [英] How to enable remote debugging in JBOSS 5?
本文介绍了如何在JBOSS 5中启用远程调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在JBoss 5中启用远程调试? JBoss 4中的通常行:
How do you enable remote debugging in JBoss 5? The usual line from JBoss 4:
set JAVA_OPTS= -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%
正如其他答案,如这个似乎不起作用。服务器从不暂停。 Googlingjboss 5远程调试不会在JBoss文档中提出任何内容。 JBoss 4有什么变化吗?如何从eclipse远程调试JBoss 5服务器?
As can be found in other answers like this do not seem to work. The server never suspends. Googling "jboss 5 remote debug" doesn't bring up anything in the JBoss docs. Did something change from JBoss 4? How can I remotely debug my JBoss 5 server from eclipse?
推荐答案
您有 suspend = n
在您的选项。将其更改为
suspend = y
。
或者您发布的行不是您使用的那个JBoss ?
Or is the line you posted not the one you're using with JBoss?
这篇关于如何在JBOSS 5中启用远程调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文