Skip to content

Commit d3ad90b

Browse files
authored
Merge pull request PowerShell#376 from PowerShell/daviwil/offline-fix
Fix PowerShell#353: Cannot start PowerShell debugger on Windows when offline
2 parents 711c52b + 4c54222 commit d3ad90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debugAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ let sessionDetails = utils.readSessionFile();
3232

3333
// Establish connection before setting up the session
3434
debugAdapterLogWriter.write("Connecting to port: " + sessionDetails.debugServicePort + "\r\n");
35-
let debugServiceSocket = net.connect(sessionDetails.debugServicePort);
35+
let debugServiceSocket = net.connect(sessionDetails.debugServicePort, '127.0.0.1');
3636

3737
// Write any errors to the log file
3838
debugServiceSocket.on(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy