Closed mklap12 closed 6 years ago
Hi there, thanks for this! Would you mind attaching the logs?
The instructions can be found here.
The log zip is attached but it isn't that helpful. The debug adapter stops logging pretty quickly:
2018-02-26 14:42:37 [NORMAL] - Method "StartLogging" at line 144 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs
PowerShell Editor Services Host v1.6.0.0 starting (pid 7972)...
Host application details:
Name: Visual Studio Code Host
ProfileId: Microsoft.VSCode
Version: 1.6.0
Arch: 64-bit
Operating system details:
Version: Microsoft Windows NT 6.3.9600.0
Arch: 64-bit
2018-02-26 14:42:37 [NORMAL] - Method "StartLanguageService" at line 180 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs
Language service started, listening on port 22516
2018-02-26 14:42:37 [NORMAL] - Method "StartDebugService" at line 254 of C:\projects\powershelleditorservices\src\PowerShellEditorServices.Host\EditorServicesHost.cs
Debug service started, listening on port 25431
It seems that the extension times out waiting for the session file. @mklap12 Can you set the PowerShell log level to Diagnostic
and then paste the contents of the Start-EditorServices.log
file here? Thanks.
Thanks. Here are the log files. We have another similar Windows server 2012 R2, and we get the same error message there. Both servers have several other Powershell Modules installed like vmware and scom. Could some of those module cause the error?
Start-EditorServices.log vscode-powershell.log EditorServices.log
@mklap12 Are you still hitting this issue?
I'm having a hard time reproducing it
Hi
Sorry the late reply. I updated Visual Studio some days ago, and after that it was working again.
Marius
Fra: Robert Holt notifications@github.com Sendt: fredag 17. august 2018 02.05.59 Til: PowerShell/vscode-powershell Kopi: mklap12; Mention Emne: Re: [PowerShell/vscode-powershell] Error "Debug adapter process has terminated unexpectedly" when running Powershell scripts (#1214)
I'm having a hard time reproducing it
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPowerShell%2Fvscode-powershell%2Fissues%2F1214%23issuecomment-413719810&data=02%7C01%7C%7C16c46819115d4d567b9908d603d537e8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636700611623747319&sdata=YozVeNicXvM2MibiaK%2BKBXr4adudMsl19VuDKX4n3bM%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAgHt-YGl0b4xeI2O5wamyS-L47oE1n5tks5uRgjngaJpZM4STRrp&data=02%7C01%7C%7C16c46819115d4d567b9908d603d537e8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636700611623747319&sdata=TAzjVLa%2B9axrhkDjWcWQoPkvhlRPMspQNjsLH4tbIcU%3D&reserved=0.
Updated visual studio
System Details
$PSVersionTable
: 5.1.14409.1012 logs.zip