Add debug configuration for script command-line arguments (#4671) - #5577
Add debug configuration for script command-line arguments (#4671)#5577darlingtonogbuefi wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a debug configuration snippet that prompts for PowerShell script arguments.
Changes:
- Adds a “Launch Current File w/Args Prompt” snippet using
SpecifyScriptArgs.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| { | ||
| "label": "PowerShell: Launch Current File w/Args Prompt", | ||
| "description": "Launch and debug the current file, prompting for command-line arguments", |
e448276 to
ee037fd
Compare
|
Yes. The failure in your screenshot is exactly the kind of CI failure you can hedge against, but you want to hedge against the class of failure, not just this one error. The important lines are:
That strongly points to a corrupted or partially restored NuGet package/cache on the GitHub runner, rather than necessarily bad application source code. I would add a Dependency Integrity Shield around the build that:
I would also distinguish:
For this screenshot, the first remediation I would attempt is: clear NuGet caches -> fresh restore -> publish with |
|
This looks more like a transient macOS runner or NuGet cache failure than a source regression. The |
PR Summary
Adds the PowerShell: Launch Current File w/Args Prompt debug configuration snippet.
PR Checklist
Note: Tick the boxes below that apply to this pull request by putting an
xbetween the square brackets.Please mark anything not applicable to this PR
NA.WIP:to the beginning of the title and remove the prefix when the PR is ready