Troubleshooting Debugging Port Connection Issue in IntelliJ

Original Slack Thread

Hi Team, How to enable debug option ? I have added 5001 port as per Nut i’m getting this error

Error running ‘GMS Debug’: Unable to open debugger port (localhost:5001): “Connection refused”

Hmm seems like this is more related to this thread, could you try the steps specified here? ;