Could not start language service
See original GitHub issueIssue Type: Bug
When starting Visual Studio Code the powershell extension try to start but abort with “Could not start language service”. The log is as following: 5.3.2021 13:02:09 [NORMAL] - Visual Studio Code v1.54.1 64-bit 5.3.2021 13:02:09 [NORMAL] - PowerShell Extension v2021.2.2 5.3.2021 13:02:09 [NORMAL] - Operating System: Windows 64-bit 5.3.2021 13:02:09 [NORMAL] - Language server starting – 5.3.2021 13:02:09 [NORMAL] - PowerShell executable: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe 5.3.2021 13:02:09 [NORMAL] - PowerShell args: -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command Import-Module ‘c:\Users\MichlerDetlef.vscode\extensions\ms-vscode.powershell-2021.2.2\modules\PowerShellEditorServices\PowerShellEditorServices.psd1’; Start-EditorServices -HostName ‘Visual Studio Code Host’ -HostProfileId ‘Microsoft.VSCode’ -HostVersion ‘2021.2.2’ -AdditionalModules @(‘PowerShellEditorServices.VSCode’) -BundledModulesPath ‘c:\Users\MichlerDetlef.vscode\extensions\ms-vscode.powershell-2021.2.2\modules’ -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <===== ’ -LogLevel ‘Normal’ -LogPath ‘c:\Users\MichlerDetlef.vscode\extensions\ms-vscode.powershell-2021.2.2\logs\1614945729-5a0d4503-6a39-4dec-aeb3-72c88f85c95e1614945727555\EditorServices.log’ -SessionDetailsPath ‘c:\Users\MichlerDetlef.vscode\extensions\ms-vscode.powershell-2021.2.2\sessions\PSES-VSCode-19924-563080’ -FeatureFlags @() 5.3.2021 13:02:09 [NORMAL] - PowerShell Editor Services args: Import-Module ‘c:\Users\MichlerDetlef.vscode\extensions\ms-vscode.powershell-2021.2.2\modules\PowerShellEditorServices\PowerShellEditorServices.psd1’; Start-EditorServices -HostName ‘Visual Studio Code Host’ -HostProfileId ‘Microsoft.VSCode’ -HostVersion ‘2021.2.2’ -AdditionalModules @(‘PowerShellEditorServices.VSCode’) -BundledModulesPath ‘c:\Users\MichlerDetlef.vscode\extensions\ms-vscode.powershell-2021.2.2\modules’ -EnableConsoleRepl -StartupBanner '=====> PowerShell Integrated Console v2021.2.2 <===== ’ -LogLevel ‘Normal’ -LogPath ‘c:\Users\MichlerDetlef.vscode\extensions\ms-vscode.powershell-2021.2.2\logs\1614945729-5a0d4503-6a39-4dec-aeb3-72c88f85c95e1614945727555\EditorServices.log’ -SessionDetailsPath ‘c:\Users\MichlerDetlef.vscode\extensions\ms-vscode.powershell-2021.2.2\sessions\PSES-VSCode-19924-563080’ -FeatureFlags @() 5.3.2021 13:02:09 [NORMAL] - powershell.exe started. 5.3.2021 13:02:09 [NORMAL] - Waiting for session file 5.3.2021 13:02:11 [NORMAL] - Session file found 5.3.2021 13:02:11 [NORMAL] - Registering terminal close callback 5.3.2021 13:02:11 [NORMAL] - Registering terminal PID log callback 5.3.2021 13:02:11 [NORMAL] - powershell.exe PID: 16004 5.3.2021 13:02:11 [NORMAL] - Language server started. 5.3.2021 13:02:11 [NORMAL] - {“status”:“started”,“languageServiceTransport”:“NamedPipe”,“languageServicePipeName”:“\\.\pipe\PSES_jpn22lfr.er0”,“debugServiceTransport”:“NamedPipe”,“debugServicePipeName”:“\\.\pipe\PSES_n4mtsiym.yhz”} 5.3.2021 13:02:11 [NORMAL] - Connecting to language service on pipe \.\pipe\PSES_jpn22lfr.er0… 5.3.2021 13:02:11 [NORMAL] - Language service connected. 5.3.2021 13:02:12 [ERROR] - Could not start language service: 5.3.2021 13:02:12 [ERROR] - Error: Connection to server got closed. Server will not be restarted.
Extension version: 2021.2.2 VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:38:31.419Z) OS version: Windows_NT x64 10.0.19042
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i5-8250U CPU @ 1.60GHz (8 x 1800) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on protected_video_decode: enabled rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 7.83GB (0.97GB free) |
Process Argv | –crash-reporter-id a0fe5d51-f6a9-4285-ba65-0257408f9258 |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt617cf:30253240
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubset:30265998
pythontb:30265425
vspre833cf:30267465
Issue Analytics
- State:
- Created 3 years ago
- Comments:27 (9 by maintainers)
Top GitHub Comments
@bvandermeide nice catch! FYI that Powershell 6 is no longer supported or tested, so def get on that 7 train, however you can choose which version the PSIC works with via the green version toggle on the lower right (5.1, 7, 7-preview, etc.)
We’re planning on releasing 1.54.2 today