Skip to content

Would like a "Debug" configuration to run in external Posh Console, passing params. #2296

Open
@KevinLeeBuchan

Description

@KevinLeeBuchan

PowerGui, rest its soul, had the option to run the script in an external window. I would not expect this to respect breakpoints and whatnot... I just want to be able to run the script in the external window without having to copy/paste or manually run the script.
I have looked at the debug configurations in launch.json, but I can't figure out how to make the script execute in an external posh console.

While VSCode and the PowerShell add-in are an awesome pair, sometimes I need to see what the script will be like when it runs in the real world. This solution would ease that kind of testing.

Proposed technical implementation details (optional)

I think the simplest solution would likely be to support a new launch.json configuration that would pop up an external console window, passing the script and command line arguments. This would require no additional UI elements and could be easily communicated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions