intellij-idea - Cucumber 无法从 intelliJ 打开调试器端口
问题描述
我在远程机器上从 Intellij 运行 Cucumber 并得到: 无法打开调试器端口 (xxxx:37955): java.net.ConnectException "Connection timed out: connect"
JVM 选项 -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=${8787},server=y,suspend=y
它生成了端口 37995
IntelliJ 配置:
我可以看到远程正在侦听端口并且它在远程机器上打开但是从 IntelliJ 运行时我无法打开调试器端口 (xxxx:37955): java.net.ConnectException "Connection timed out: connect" 同样如果尝试从 Jsystem 调试,程序正在运行
解决方案
推荐阅读
- firebase - 在查询中无法获取具有动态文档 ID 的文档
- java - 如何模拟一个真正运行的应用程序?
- go - 如何托管后端服务器?
- c# - DbExecutionStrategy 中的 ShouldRetryOn 并不总是有效
- asp.net-mvc - 用户登录 Web 应用程序后如何为特定用户添加记录?
- persistent-storage - 关系数据库和 Git 之间有交叉吗?
- css - SCSS 到 CSS - 如何修复媒体查询
- mysql - TypeError: s.replace 在 removeConstraint 时不是函数
- google-apps-script - 如何将文本包装在pdf输出文件中
- laravel - 如何为 laravel 添加公共变量并将此数据传递给所有视图所有视图