首页 > 解决方案 > 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 调试,程序正在运行

标签: intellij-ideacucumberremote-debugging

解决方案


推荐阅读