PowerShell / PowerShell/vscode-powershell
VSCode Debugging with Arguments
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
Please update the debugging options in VSCode to allow for either:
-
keeping the last 10 unique arguments passed to the current script
-
set it up so we can launch a Powershell function directly to debug execution or extend debugging.
Ultimately, when launching a script, I'd like to be able to select the parameters available when Launching the script (Easily exposed using the Show-Command ${file} -Passthru command and arguments, or select them from a last used set of arguments for that particular file. I've written code to do this for the PSISE and it worked great but, I'm finding the debugging interface in VSCode lacking and would like to extend it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the VSCode debugging options and the existing PowerShell extension behavior. Compare the requested argument history with the Show-Command ${file} -Passthru flow and the author's PSISE implementation. Done means users can select recent per-file arguments and launch a PowerShell function directly for debugging.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript, vscode
- Domain
- developer-experience, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100