Skip to content
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

PowerShell extension doesn't start on slow machines #5031

Open
6 tasks done
SetTrend opened this issue Aug 21, 2024 · 0 comments
Open
6 tasks done

PowerShell extension doesn't start on slow machines #5031

SetTrend opened this issue Aug 21, 2024 · 0 comments
Labels

Comments

@SetTrend
Copy link

SetTrend commented Aug 21, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

Whenever I start VS Code for the first time in a Windows session, PowerShell extension starts with a warning.

Moreover, closing the terminal session results in the below mentioned error.

Plus, the PowerShell extension banner message is looking odd:

PowerShell extension banner

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.4.4
PSEdition                      Core
GitCommitId                    7.4.4
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0.}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

1.92.1
x64

Extension Version

Steps to Reproduce

  1. Launch a Windows session on a slow machine
  2. Right-click a PowerShell file and select "Open in Visual Studio Code" context menu item.
  3. Immediately open the terminal window using the keyboard shortcut +<Ö>.

Visuals

No response

Logs

21.8.2024 16:17:03 [NORMAL] - Visual Studio Code: v1.92.1 64-bit on Windows 64-bit

21.8.2024 16:17:03 [NORMAL] - PowerShell Extension: v2024.2.2

21.8.2024 16:17:03 [NORMAL] - Starting 'PowerShell (x64)' at: C:\Program Files\PowerShell\7\pwsh.exe

21.8.2024 16:17:04 [NORMAL] - PowerShell process started with PID: 9012

21.8.2024 16:17:07 [WARNING] - PowerShell process terminated or Extension Terminal was closed, PID: 9012

21.8.2024 16:17:08 [ERROR] - Extension Terminal is undefined.

21.8.2024 16:17:09 [ERROR] - PowerShell Language Server process didn't start!
@SetTrend SetTrend added Issue-Bug A bug to squash. Needs: Triage Maintainer attention needed! labels Aug 21, 2024
@SydneyhSmith SydneyhSmith added Area-Startup and removed Needs: Triage Maintainer attention needed! labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants