Skip to content

Extension host keeps restarting #4560

@Shrp77

Description

@Shrp77

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

Opened up VS Code, continuing my previous session where I was debugging some PowerShell scripts. Within seconds I get a notification from VS Code that the extension host terminated unexpectedly 3 times within the last 5 minutes.

Using the Extension Bisect functionality I narrowed it down to the PowerShell extension.

Without this extension I cannot debug my powershell scripts. Please fix!

PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.19041.2673
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.2673
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Visual Studio Code Version

1.78.0
252e5463d60e63238250799aef7375787f68b4ee
x64

Extension Version

ms-vscode.powershell@2023.5.0
TylerLeonhardt.vscode-inline-values-powershell@0.0.7

Steps to Reproduce

Open VS Code with the Terminal Window open to PowerShell and the Debug Variables panel open. Wait a few seconds.

Visuals

image

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions