PowerShell / PowerShell/vscode-powershell

powershell error !

Open
#5,576 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Extension Terminal Bug: PowerShell 5.1 Issue-Bug Needs: Author Feedback Needs: Triage OS-Windows
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

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

I am experiencing the problem with the powershell where it sometimes causes some error in the vs powershell.

PowerShell Version
Name                           Value                                                                                   
----                           -----                                                                                   
PSVersion                      5.1.26100.9168                                                                          
PSEdition                      Desktop                                                                                 
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
BuildVersion                   10.0.26100.9168                                                                         
CLRVersion                     4.0.30319.42000                                                                         
WSManStackVersion              3.0                                                                                     
PSRemotingProtocolVersion      2.3                                                                                     
SerializationVersion           1.1.0.1
Visual Studio Code Version
1.134.0
x64
Extension Version
ms-vscode.powershell@2025.4.0
Steps to Reproduce

where it says press any key to close the terminal , where it occurs whenever i push the repo into the github

Visuals

No response

Logs

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, exact error, or reliable reproduction entry point is identified. First reproduce the terminal-closing behavior around pushing to GitHub and collect the extension logs, then locate the failing extension path; done requires a confirmed cause and a regression test for the reported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.