Skip to content

Powershell has stop working in vscode insider #252080

Closed as not planned
Closed as not planned
@engkhsky

Description

@engkhsky

Does this issue occur when all extensions are disabled?: Yes, i disabled all extensions

  • VS Code Version: 1.102.0
  • OS Version: Win 11
  • Powershell Version: 7.5.1

Steps to Reproduce:

Have installed Oh my posh with Microsoft.PowerShell_profile.ps1 with below script
oh-my-posh init pwsh --config $env:POSH_THEMES_PATH\clean-detailed.omp.json | Invoke-Expression
P.S i am not sure if is this oh my posh affecting, because i tried removing Microsoft.PowerShell_profile.ps1 but the issue still happen

  1. When opening vscode the first time after com restart/startup, (subsequent times sometime will not have this issue)
  2. "Powershell stop working" error will prompt as attached below

Image

This issue only happen in vscode insider, will not happen when using vscode stable version

Metadata

Metadata

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions