Skip to content

Add MRU to argument prompt when debugging a PowerShell script #2846

Open
@sba923

Description

@sba923

Summary of the new feature

When one debugs a PowerShell script with the "PowerShell Launch Current File w/Args Prompt" configuration:

        {
            "type": "PowerShell",
            "request": "launch",
            "name": "PowerShell Launch Current File w/Args Prompt",
            "script": "${file}",
            "args": [
                "${command:SpecifyScriptArgs}"
            ],
            "cwd": "${file}"
        },

the input field is pre-filled with the most recent arguments input on the previous debug session.

It would be useful to have a list of most recently used argument lists, so that one could easily test the same script with several sets of arguments.

Proposed technical implementation details (optional)

The list should be sorted by most-recently used argument list.

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