diff --git a/src/debugAdapter.ts b/src/debugAdapter.ts index 44fe370a06..4b4c48ebbb 100644 --- a/src/debugAdapter.ts +++ b/src/debugAdapter.ts @@ -32,7 +32,7 @@ let sessionDetails = utils.readSessionFile(); // Establish connection before setting up the session debugAdapterLogWriter.write("Connecting to port: " + sessionDetails.debugServicePort + "\r\n"); -let debugServiceSocket = net.connect(sessionDetails.debugServicePort); +let debugServiceSocket = net.connect(sessionDetails.debugServicePort, '127.0.0.1'); // Write any errors to the log file debugServiceSocket.on(