Remote debug refusing to connect

Running on 8.1.42

Error:

My setup:
wrapper.java.additional.6=-Xdebug
wrapper.java.additional.7=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:8000
wrapper.java.additional.7=-Dignition.allowunsignedmodules=true

What else could cause the connection to refuse?

Something else bound to port 8000? Have you restarted the gateway since you made the changes?

Note the command line IntelliJ suggests says -agentlib, but your command line string is -Xrunjdwp.

As another dev pointed out to me - is your gateway even starting? You've got two additional params at index 7.

2 Likes

cant believe i didnt notice that, will try with that and see if it works

yep, this worked and changing the agentlib