focusConsoleOnExecute not working when using debug with argument prompt · Issue #1798 · PowerShell/vscode-powershell · GitHub
Skip to content

focusConsoleOnExecute not working when using debug with argument prompt #1798

Open

Description

@donkzquixote

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

Activity

  1. SydneyhSmith commented on Mar 26, 2019

    @SydneyhSmith
    Collaborator

    Keith Hill (@rkeithhill) any chance you know if this is configurable/if this is a known behavior?

  2. rkeithhill commented on Mar 26, 2019

    @rkeithhill
    Contributor

    It is easy to repro but not sure how to fix it yet. I suspect it has something to do with the input box used to gather args having focus previous to debug start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions