PowerShell / PowerShell/vscode-powershell

focusConsoleOnExecute not working when using debug with argument prompt

Open
#1,798 2 comments 0 reactions 1 assignee View on GitHub

@rkeithhill is already working on this.

Since Mar 26, 2019.

Area-Debugging Issue-Bug
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

Issue Description

When powershell.integratedConsole.focusConsoleOnExecute is set to True, the focus is set properly to the terminal/console when using the debug launch configuration 'PowerShell Launch Current File'. However, when using 'PowerShell Launch Current File w/Args Prompt', the focus is always set to the editor.
A fix or (simple) workaround would be very much appreciated.

Environment

Windows 10
VSCode 1.32.3
PowerShell Extension Version 1.11.0

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.