PowerShell / PowerShell/vscode-powershell

PowerShell Extension Terminal should reappear automatically if shown and "Restart Session" command is applied and background setting is enabled

Open
#5,562 1 comment 2 reactions 2 assignees View on GitHub

@JustinGrote is already working on this.

Since Jul 31, 2026.

  • #5563 by @copilot-swe-agent — open
Area-Extension Terminal Area-Startup Issue-Bug Needs: Triage
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

If the PowerShell setting powershell.integratedConsole.startInBackground is specified, when the PowerShell: Restart Session vscode command is called, the PowerShell extension session restarts but the terminal window does not reappear. It should reappear similarly to when the background setting is disabled, but only if the terminal was shown prior to Restart Session being called. If the terminal was not already shown, it should stay hidden.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.