question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add MRU to argument prompt when debugging a PowerShell script

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
rkeithhillcommented, Jul 31, 2020

Sigh, sad thing is that I implemented that feature 2 years ago according to Git. 🤷‍♂️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add MRU to argument prompt when debugging a PowerShell script ...
When one debugs a PowerShell script with the "PowerShell Launch Current File w/Args Prompt" configuration: { "type": "PowerShell", "request": "launch", "name": ...
Read more >
How to pass needed parameters to script in Powershell ISE?
Use the command pane. Open the script file in the ISE editor, set the breakpoints (F9). Then in the command pane type a...
Read more >
How to Debug Scripts in Windows PowerShell ISE
Press F5 or, on the toolbar, click the Run Script icon, or on the Debug menu, click Run/Continue or, in the Console Pane,...
Read more >
UDE FAQs - pls-mc.com
If UDE shows a warning after start: UDEFrameworkManager Runtime components are older than required by UDE ! This might result in instable function...
Read more >
Fireware Command Line Interface Reference v12.3
If you must include special characters within a command argument, ... To use the WatchGuard CLI, type a command at the prompt and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found