question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PowerShell 2020.9.0 Integrated Console in a container: The language service could not be started

See original GitHub issue

Docker Container

Issue Type: Bug

11/12/2020 6:42:56 PM [NORMAL] - Visual Studio Code v1.51.1 64-bit
11/12/2020 6:42:56 PM [NORMAL] - PowerShell Preview Extension v2020.9.0
11/12/2020 6:42:56 PM [NORMAL] - Operating System: Linux 64-bit
11/12/2020 6:42:56 PM [NORMAL] - Language server starting --
11/12/2020 6:42:56 PM [NORMAL] -     PowerShell executable: /usr/bin/pwsh
11/12/2020 6:42:56 PM [NORMAL] -     PowerShell args: -NoProfile -NonInteractive -EncodedCommand SQBtAHAAbwByAHQALQBNAG8AZAB1AGwAZQAgACcALwByAG8AbwB0AC8ALgB2AHMAYwBvAGQAZQAtAHMAZQByAHYAZQByAC8AZQB4AHQAZQBuAHMAaQBvAG4AcwAvAG0AcwAtAHYAcwBjAG8AZABlAC4AcABvAHcAZQByAHMAaABlAGwAbAAtAHAAcgBlAHYAaQBlAHcALQAyADAAMgAwAC4AOQAuADAALwBtAG8AZAB1AGwAZQBzAC8AUABvAHcAZQByAFMAaABlAGwAbABFAGQAaQB0AG8AcgBTAGUAcgB2AGkAYwBlAHMALwBQAG8AdwBlAHIAUwBoAGUAbABsAEUAZABpAHQAbwByAFMAZQByAHYAaQBjAGUAcwAuAHAAcwBkADEAJwA7ACAAUwB0AGEAcgB0AC0ARQBkAGkAdABvAHIAUwBlAHIAdgBpAGMAZQBzACAALQBIAG8AcwB0AE4AYQBtAGUAIAAnAFYAaQBzAHUAYQBsACAAUwB0AHUAZABpAG8AIABDAG8AZABlACAASABvAHMAdAAnACAALQBIAG8AcwB0AFAAcgBvAGYAaQBsAGUASQBkACAAJwBNAGkAYwByAG8AcwBvAGYAdAAuAFYAUwBDAG8AZABlACcAIAAtAEgAbwB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hADIAZAAtADEAYwBhAGIAYwBmADEAMQA5ADIAMgA5ADEANgAwADUAMgAwADYANAA4ADAAOQA1ADUALwBFAGQAaQB0AG8AcgBTAGUAcgB2AGkAYwBlAHMALgBsAG8AZwAnACAALQBTAGUAcwBzAGkAbwBuAEQAZQB0AGEAaQBsAHMAUABhAHQAaAAgACcALwByAG8AbwB0AC8ALgB2AHMAYwBvAGQAZQAtAHMAZQByAHYAZQByAC8AZQB4AHQAZQBuAHMAaQBvAG4AcwAvAG0AcwAtAHYAcwBjAG8AZABlAC4AcABvAHcAZQByAHMAaABlAGwAbAAtAHAAcgBlAHYAaQBlAHcALQAyADAAMgAwAC4AOQAuADAALwBzAGUAcwBzAGkAbwBuAHMALwBQAFMARQBTAC0AVgBTAEMAbwBkAGUALQB1AG4AZABlAGYAaQBuAGUAZAAtADcAMQAzADEAMAA1ACcAIAAtAEYAZQBhAHQAdQByAGUARgBsAGEAZwBzACAAQAAoACkAIAA=
11/12/2020 6:42:56 PM [NORMAL] -     PowerShell Editor Services args: Import-Module '/root/.vscode-server/extensions/ms-vscode.powershell-preview-2020.9.0/modules/PowerShellEditorServices/PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2020.9.0' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath '/root/.vscode-server/extensions/ms-vscode.powershell-preview-2020.9.0/modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Preview Integrated Console v2020.9.0 <=====
' -LogLevel 'Normal' -LogPath '/root/.vscode-server/extensions/ms-vscode.powershell-preview-2020.9.0/logs/1605206576-faf3e06a-ebc7-4dd6-9a2d-1cabcf1192291605206480955/EditorServices.log' -SessionDetailsPath '/root/.vscode-server/extensions/ms-vscode.powershell-preview-2020.9.0/sessions/PSES-VSCode-undefined-713105' -FeatureFlags @() 
11/12/2020 6:42:56 PM [NORMAL] - pwsh started.
11/12/2020 6:42:56 PM [NORMAL] - Waiting for session file
11/12/2020 6:43:56 PM [NORMAL] - Timed out waiting for session file to appear.
11/12/2020 6:43:56 PM [NORMAL] - Language server startup failed.
11/12/2020 6:43:56 PM [ERROR] - The language service could not be started: 
11/12/2020 6:43:56 PM [ERROR] - Error: Timed out waiting for session file to appear.
11/12/2020 6:44:35 PM [NORMAL] - Shutting down language client...
11/12/2020 6:44:35 PM [NORMAL] - Language server starting --
11/12/2020 6:44:35 PM [NORMAL] -     PowerShell executable: /usr/bin/pwsh
11/12/2020 6:44:35 PM [NORMAL] -     PowerShell args: -NoProfile -NonInteractive -EncodedCommand SQBtAHAAbwByAHQALQBNAG8AZAB1AGwAZQAgACcALwByAG8AbwB0AC8ALgB2AHMAYwBvAGQAZQAtAHMAZQByAHYAZQByAC8AZQB4AHQAZQBuAHMAaQBvAG4AcwAvAG0AcwAtAHYAcwBjAG8AZABlAC4AcABvAHcAZQByAHMAaABlAGwAbAAtAHAAcgBlAHYAaQBlAHcALQAyADAAMgAwAC4AOQAuADAALwBtAG8AZAB1AGwAZQBzAC8AUABvAHcAZQByAFMAaABlAGwAbABFAGQAaQB0AG8AcgBTAGUAcgB2AGkAYwBlAHMALwBQAG8AdwBlAHIAUwBoAGUAbABsAEUAZABpAHQAbwByAFMAZQByAHYAaQBjAGUAcwAuAHAAcwBkADEAJwA7ACAAUwB0AGEAcgB0AC0ARQBkAGkAdABvAHIAUwBlAHIAdgBpAGMAZQBzACAALQBIAG8AcwB0AE4AYQBtAGUAIAAnAFYAaQBzAHUAYQBsACAAUwB0AHUAZABpAG8AIABDAG8AZABlACAASABvAHMAdAAnACAALQBIAG8AcwB0AFAAcgBvAGYAaQBsAGUASQBkACAAJwBNAGkAYwByAG8AcwBvAGYAdAAuAFYAUwBDAG8AZABlACcAIAAtAEgAbwBzAHQAVgBlAHIAcwBpAG8AbgAgACcAMgAwADIAMAAuADkALgAwACcAIAAtAEEAZABkAGkAdABpAG8AbgBhAGwATQBvAGQAdQBsAGUAcwAgAEAAKAAnAFAAbwB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UAcwAuAGwAbwBnACcAIAAtAFMAZQBzAHMAaQBvAG4ARABlAHQAYQBpAGwAcwBQAGEAdABoACAAJwAvAHIAbwBvAHQALwAuAHYAcwBjAG8AZABlAC0AcwBlAHIAdgBlAHIALwBlAHgAdABlAG4AcwBpAG8AbgBzAC8AbQBzAC0AdgBzAGMAbwBkAGUALgBwAG8AdwBlAHIAcwBoAGUAbABsAC0AcAByAGUAdgBpAGUAdwAtADIAMAAyADAALgA5AC4AMAAvAHMAZQBzAHMAaQBvAG4AcwAvAFAAUwBFAFMALQBWAFMAQwBvAGQAZQAtAHUAbgBkAGUAZgBpAG4AZQBkAC0ANwA3ADAAMwAyADAAJwAgAC0ARgBlAGEAdAB1AHIAZQBGAGwAYQBnAHMAIABAACgAKQAgAA==
11/12/2020 6:44:35 PM [NORMAL] -     PowerShell Editor Services args: Import-Module '/root/.vscode-server/extensions/ms-vscode.powershell-preview-2020.9.0/modules/PowerShellEditorServices/PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2020.9.0' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath '/root/.vscode-server/extensions/ms-vscode.powershell-preview-2020.9.0/modules' -EnableConsoleRepl -StartupBanner '=====> PowerShell Preview Integrated Console v2020.9.0 <=====
' -LogLevel 'Diagnostic' -LogPath '/root/.vscode-server/extensions/ms-vscode.powershell-preview-2020.9.0/logs/1605206675-faf3e06a-ebc7-4dd6-9a2d-1cabcf1192291605206480955/EditorServices.log' -SessionDetailsPath '/root/.vscode-server/extensions/ms-vscode.powershell-preview-2020.9.0/sessions/PSES-VSCode-undefined-770320' -FeatureFlags @() 
11/12/2020 6:44:35 PM [NORMAL] - pwsh started.
11/12/2020 6:44:35 PM [NORMAL] - Waiting for session file
11/12/2020 6:45:35 PM [NORMAL] - Timed out waiting for session file to appear.
11/12/2020 6:45:35 PM [NORMAL] - Language server startup failed.
11/12/2020 6:45:35 PM [ERROR] - The language service could not be started: 
11/12/2020 6:45:35 PM [ERROR] - Error: Timed out waiting for session file to appear.

Extension version: 2020.9.0 VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z) OS version: Windows_NT x64 10.0.19042 Remote OS version: Linux x64 4.19.128-microsoft-standard

System Info
Item Value
CPUs Intel® Core™ i7-6700 CPU @ 3.40GHz (8 x 3408)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 63.92GB (44.64GB free)
Process Argv –crash-reporter-id 4e4350ed-2c2e-4a28-b179-34363158d8c6
Screen Reader no
VM 0%
Item Value
Remote Container partnertoolkit:latest (/keen_…
OS Linux x64 4.19.128-microsoft-standard
CPUs Intel® Core™ i7-6700 CPU @ 3.40GHz (8 x 3407)
Memory (System) 50.15GB (46.74GB free)
VM 0%

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ebmarquezcommented, Nov 19, 2020

I can open a new non-integrated console and use pwsh. This was not as helpful as I would like since I wanted to debug my script that operates in the container. I had a few breakpoints I needed to hit. breakpoints are nice to have! 😃

I zipped up the PowerShell folder that ran in the container. ms-vscode.powershell-preview-2020.9.0.tar.gz

0reactions
msftbot[bot]commented, Dec 4, 2020

This issue is being closed as inactive, if this issue is still occurring it will be re-opened

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Language Service Could not be started #2526 - GitHub
Everything was working fine until the update of the powershell extension. Issue Description. The Language Service Could not be started 3/6/2020 ...
Read more >
Visual Studio Code Powershell startup failure - Stack Overflow
Cannot debug or run a Powershell script until the PowerShell session has started. Wait for PowerShell session to finish starting and try again....
Read more >
The language service could not be started - Alfred Myers
The language service could not be started: Source: PowerShell (Extension). Earlier today when opening a PowerShell script in Visual Studio ...
Read more >
PowerShell - Bountysource
The PowerShell Integrated Console (PSIC) tab gives me the ability to have a script in the editor and hit F5 to make it...
Read more >
PowerShell/vscode-powershell - Gitter
I have tried that but I get errors when the integrated console tries to launch. ... 5-2-2020 15:18:40 [ERROR] - The language service...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found