You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gauge error while running Selenium scripts in debug mode , Java Intellij Unable to open debugger port java.net.connectException "Connection refused: connect"
#2017
Nee your help on fixing Gauge java script execution in debug mode
Describe the bug
Gauge error while running in debug mode , Java Intellij Unable to open debugger port java.net.connectException "Connection refused: connect"
To Reproduce
Steps (or project) to reproduce the behavior:
Gauge maven project
Windows VDI ( virtual desktop ) machine not works on debug mode
Same works fine other laptops
Tried rerun - getting same issue
Tried restart IDE - getting same issue
Tried restarting machine - not worked
$ gauge init java
Logs
Paste any log or error messages here
Expected behavior
A clear and concise description of what you expect to happen.
It seems that the target machine may not be allowing the port in that range. You can try choosing a port that is allowed, and set GAUGE_DEBUG_OPTS=<port>
I get a similar issue when using IntelliJ.
It seems that when you run a gauge test in debug mode, two tabs get created in IntelliJ.
One that has the name of your test, and one tab that doesn't have any name (tiny little tab).
By default, the tab with no name gets selected as default. You have to switch to the tab with your test name to see the console logs etc.
Similarly, if you click the debug icon on the debug screen when the no-name tab is selected, you will get the error. If you switch to the tab with your test name, the test will run fine; at least it does for me.
Give it a try and see if that works. It's an annoyance of course, but I am unsure where the issue lies; IntelliJ? Gauge IntelliJ plugin? or Gauge?
@sriv the same project template run in debug mode via IntelliJ will fail with timeout error and using vs code will works as expected, also added a firewall rule to keep open all tcp ports during this test, setting up the GAUGE_DEBUG_OPTS doesn't help.
Could you take a look at this issue with your expertise? would be great to know witch component cause the issue.
Hi Team,
Nee your help on fixing Gauge java script execution in debug mode
Describe the bug
Gauge error while running in debug mode , Java Intellij Unable to open debugger port java.net.connectException "Connection refused: connect"
To Reproduce
Steps (or project) to reproduce the behavior:
Logs
Expected behavior
A clear and concise description of what you expect to happen.
Screenshots

Versions:
Thanks
Shc
The text was updated successfully, but these errors were encountered: