Shell integration with PowerShell 5.1 breaks with $ErrorActionPreference = Stop
and Set-StrictMode
#2050
Closed
3 tasks done
Labels
Prerequisites
Steps to reproduce
In
$PROFILE.CurrentUserAllHosts
, set the content tothen start VSCode.
Expected behavior
The Powershell extension starts successfully.
Actual behavior
The VSCode Powershell extension fails to start.
Error details
Environment data
Version
VSCode Powershell v2023.6.0
in ~.vscode\extensions\ms-vscode.powershell-2023.6.0\modules\PowerShellEditorServices\PowerShellEditorServices.psd1
PowershellEditorServices module version 3.8.7
Visuals
No response
The text was updated successfully, but these errors were encountered: