eclipse - 带有 Jrebel 的 Eclipse:调试失败
问题描述
我在我的 Eclipse 中安装了带有 Hybris 设置的 Jrebel 插件。我在 local.properties 中设置了 tomcat.debugjavaoptions=-Xverify:none -agentpath:C://jrebel/lib/jrebel64.dll ,所以当我在 Eclipse 中调试我的代码时,得到以下错误消息:
无法连接到远程虚拟机。拒绝连接。连接被拒绝:连接任何线索?
解决方案
请将此属性添加到您的 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 文件路径
推荐阅读
- python - “!” 键入后,按键盘上的“TAB”键。此方法在 Pycharm 中不起作用
- tableau-desktop - 如何在 Tableau 的嵌套 IF 内使用 sum?
- reactjs - 使用 netlify 和 monorepo 时反应路由器 dom 失败
- excel - Excel计算用逗号分隔的数字数量,范围从x到y
- arrays - rxjs 在间隔中为数组中的每个项目调用 2 个服务
- c++ - 如何将函数分配给已定义的已声明函数
- system-verilog - 子模块是由求解器独立刺激还是通过连接的顶层模块刺激?
- batch-file - 批量混合特殊字符故障?
- html - * 是 CSS 中的合法选择器吗?如果是这样,为什么在将显示设置为阻止时会生成此输出?
- python - Python:从时间序列中删除前导和尾随零和相应的时间值