PowerShell / PowerShell/vscode-powershell
Problem with pwsh after installing a VS VCode update (Visual Studio Code 1.115)
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.9k
- Forks
- 548
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
The terminal process "C:\Program Files\PowerShell\7\pwsh.exe '-NoProfile', '-ExecutionPolicy', 'Bypass', '-Command', 'Import-Module 'c:\Users\aclaude.vscode\extensions\ms-vscode.powershell-2025.5.0\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2025.5.0' -BundledModulesPath 'c:\Users\aclaude.vscode\extensions\ms-vscode.powershell-2025.5.0\modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2025.5.0 Copyright (c) Microsoft Corporation. https://aka.ms/vscode-powershell Type 'help' to get help. " -LogLevel 'Warning' -LogPath 'c:\Users\aclaude\AppData\Roaming\Code\logs\20260415T105454\window1\exthost\ms-vscode.powershell' -SessionDetailsPath 'c:\Users\aclaude\AppData\Roaming\Code\User\globalStorage\ms-vscode.powershell\sessions\PSES-VSCode-10428-179075.json' -FeatureFlags @() '" terminated with exit code: 1.
PowerShell Version
Name Value
---- -----
PSVersion 7.6.0
PSEdition Core
GitCommitId 7.6.0
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0.}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visual Studio Code Version
1.115.0
x64
Extension Version
ms-vscode.powershell@2025.5.0
Steps to Reproduce
Problem with pwsh after installing a VS VCode update (Visual Studio Code 1.115)
Visuals
No response
Logs
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginnen Sie mit dem Terminalprozess-Befehl und dem angehängten Protokoll unter Verwendung der gemeldeten Kombination aus Visual Studio Code 1.115.0, PowerShell 7.6.0 und Erweiterung 2025.5.0. Reproduzieren Sie den Fehler nach dem VS Code-Update und ermitteln Sie, warum pwsh mit Code 1 beendet wird; abgeschlossen ist die Aufgabe, wenn die PowerShell-Erweiterung in dieser Umgebung normal startet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell, typescript, vscode
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100