-
Notifications
You must be signed in to change notification settings - Fork 511
Extension host terminates when editing code offline #372
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
Hey @Glober777, do you still see this issue in more recent builds of VS Code and the PS extension? |
Hey @daviwil, I haven't faced with this issue since I submitted a bug for it, however I haven't been using VSCode offline either. |
No problem! I'll try to reproduce this sometime and see if I hit the same issue before I close this bug. |
There is still an issue there @daviwil @Glober777. I don't receive a error message. However the extension reports "Starting PowerShell..." and never completes. VSCode: 1.10.2 PSVersion: 5.1.14393.953 vscode-powershell.log
editorservices.log
|
Thanks @BernieWhite! Your logs look clean, but perhaps we're missing some context without Verbose logs turned on. Can you turn on verbose logs and try it again? https://github.com/PowerShell/vscode-powershell#2-capture-verbose-logs-and-send-them-to-us Judging from what I see here, the language server fully starts up but maybe there's some problem preventing the integrated console from showing the initial prompt. |
Hi David Same issue on my system. If I start Visual Studio Code with the PowerShell extension when I'm completely offline, like in the train, the PowerShell host is starting forever: This are the log files with verbose turned on: I can see that the PowerShell Editor Service is listening on 127.0.0.1:23623 And the good old telnet to the local port 23623 works too. So no localhost network issue. |
I'm having the same issue, is there anything I can do to help troubleshooting this? |
This should be fixed in #1327 since we are no longer relying on TCP sockets in the extension. |
Please fill in these details so that we can help you!
System Details
$PSVersionTable
:PS > $PSVersionTable
Name Value
PSVersion 5.1.14393.479
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.479
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
Today, I've received a few 'Extension host terminated' errors when I was editing the code while being disconnected from the network (LAN not connected and WiFi adapter disabled). When I hit this it reminded me about issue #353 (if wonder if these are related), although in my case I wasn't trying to run a debugger but just was editing some PS code.
Attached Logs
Logs sent over email.
The text was updated successfully, but these errors were encountered: