-
Notifications
You must be signed in to change notification settings - Fork 511
Cannot run debugger when offline #353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi Lukas, thanks for the report! I'll take a look. |
Hey Lukas, I can't seem to reproduce this issue even after trying it a few different ways. Some questions:
Thanks! |
I run Win10 enterprise. I have tried it again now with LAN not connected and WiFi adapter disabled (previously WiFi was unavailable) in both stable and insider version. Logs are basically the same: logs.zip
|
Hey Lukas, can you try something for me? Open the following file in VS Code:
Go down to line 24, it should look like this: let debugServiceSocket = net.connect(sessionDetails.debugServicePort); Change that line so that it looks like this: let debugServiceSocket = net.connect(sessionDetails.debugServicePort, '127.0.0.1'); Save the file then completely restart VS Code and try debugging a PowerShell script again. Any improvement? If so, I'll try to include a fix for today's release. |
Yep, that works for me! |
Awesome, thanks for confirming! I'll get a fix in for that :) |
Fix #353: Cannot start PowerShell debugger on Windows when offline
When one is offline, the debugger does not start. Here is a log:
The text was updated successfully, but these errors were encountered: