Eclipse中的JBoss调试 [英] JBoss debugging in Eclipse
本文介绍了Eclipse中的JBoss调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何配置JBoss来调试Eclipse中的应用程序?
How do you configure JBoss to debug an application in Eclipse?
推荐答案
您的意思是远程调试JBoss
如下设置JAVA_OPTS变量:
Set the JAVA_OPTS variable as follows:
set JAVA_OPTS= -Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%
或:
or:
JAVA_OPTS="-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS"
在调试框中,选择远程Java应用程序节点。
In the Debug frame, select the Remote Java Application node.
In连接属性,指定 localhost
作为主机,并将端口指定为在JBoss服务器的运行批处理脚本中指定的端口, 8787
。
In the Connection Properties, specify localhost
as the Host and specify the Port as the port that was specified in the run batch script of the JBoss server, 8787
.
这篇关于Eclipse中的JBoss调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文