Add MRU to argument prompt when debugging a PowerShell script
See original GitHub issueSummary 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:
- Created 3 years ago
- Comments:9 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sigh, sad thing is that I implemented that feature 2 years ago according to Git. 🤷♂️
@rkeithhill we implement SpecifyScriptArgs:
https://github.com/TylerLeonhardt/vscode-powershell/blob/c23cc9d980dd7b199d350824e560320055e4e1e6/src/features/DebugSession.ts#L339-L370