PowerShell / PowerShell/vscode-powershell
Inline Breakpoint Support
Nobody has claimed this yet.
- 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
Currently PowerShell breakpoints are per-line, but they support columns as well, so we could support inline breakpoints similar to typescript, e.g. have a breakpoint specifically on hi2 but not the whole block
& {"hi";"hi2";"hi3"}
Proposed Design
Wire up the debug setBreakpoint to include column information and tie that to Set-PsBreakpoint -Column.
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 at the debug setBreakpoint path and trace how breakpoint locations are passed to PowerShell. Check how Set-PsBreakpoint -Column is exposed, then verify that a breakpoint on "hi2" in the example targets that column without stopping on the whole block.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript, vscode
- Domain
- developer-experience, devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100