Eclipse 通过 CYGWIN 对 Linux 进行远程调试不起作用

发布于 2024-11-25 11:19:16 字数 298 浏览 5 评论 0原文

我使用 Windows xp 和 cygwin 来运行位于我的计算机中的 Web 逻辑服务器。 所以我在一台机器上完成了整个设置。

但我无法使远程调试器与 Eclipse 一起工作。

这是startWSL.sh中的调试命令 export DEBUG_OPTS = -Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=y

但我无法从 Eclipse 进行调试,连接超时。

使用 CYGWIN 时我是否错过了一些需要做的事情? 帮助赞赏!

I use Windows xp with cygwin to run web-logic server that is located in my machine.
So I have the whole setup in one machine.

But I couldn't make the remote debugger to work with Eclipse.

Here is the debug command in startWSL.sh
export DEBUG_OPTS = -Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=y

But I couldn't debug from Eclipse, the connection times out.

Do I miss something that I need to do when using CYGWIN?
Help appreciated!!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

花想c 2024-12-02 11:19:16

DEBUG_OPTS 不是 startWebLogic.sh 标准脚本中可识别的环境变量。您可能想改用 JAVA_OPTIONS 变量。

DEBUG_OPTS is not a recognized env variable in startWebLogic.sh standard script. You may want to use JAVA_OPTIONS variable instead.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文