PowerShell / PowerShell/vscode-powershell
add debug configuration for scripts with command-line arguments
Open
Nobody has claimed this yet.
Issue-Enhancement
Up for Grabs
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
Summary
There was a configuration in past for launching debugger for scripts with command-line arguments. It would be nice to have it back.
Proposed Design
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File w/Args Prompt",
"script": "${file}",
"args": [
"${command:SpecifyScriptArgs}"
],
"cwd": "${file}"
},
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
No files or tests are named. Search the extension for the PowerShell debug launch configuration and the SpecifyScriptArgs command, then compare current handling with the proposed JSON. Done means restoring a launch configuration for the current script that accepts command-line arguments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100