首页 > 解决方案 > 带有 Jrebel 的 Eclipse:调试失败

问题描述

我在我的 Eclipse 中安装了带有 Hybris 设置的 Jrebel 插件。我在 local.properties 中设置了 tomcat.debugjavaoptions=-Xverify:none -agentpath:C://jrebel/lib/jrebel64.dll 所以当我在 Eclipse 中调试我的代码时,得到以下错误消息:

无法连接到远程虚拟机。拒绝连接。连接被拒绝:连接任何线索?

标签: eclipsehybrisjrebel

解决方案


请将此属性添加到您的 local.properties 中,然后全部清除并重新启动服务器。

tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xss16M -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n -agentpath:"/plugins/org.zeroturnaround.eclipse.embedder_2021.2.2.RELEASE/jrebel/lib /jrebel64.dll"

注意:请更正他的 jrebel64.dll 文件路径


推荐阅读