Feature Request: Override next line to execute when debugging

Open
#5,238 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
powershell, typescript, vscode

Research direction

No files, tests, or entry points are mentioned. Start by reviewing the extension's current PowerShell debugging integration and how VS Code handles selecting the next execution line. Done means a debug session can switch execution to another line or branch without restarting.

Written by the indexing model from the issue text.

Description

Issue-Enhancement Pending: External
Prerequisites
  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
Summary

While debugging a PowerShell script step by step I would like to be able to choose the next line of code to execute on the fly. For example, an if statement might be incorrect and the code starts executing the wrong branch. Being able to switch the next exection line to the alternate branch (without the need to restart the entire debug session from scratch) can save a lot of time and agravation. Visual studio C++ and C# debugger have this very usefull feature.

Proposed Design

No response

Dominant language
TypeScript
Stars
1.9k
Forks
548
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PowerShell/vscode-powershell

All issues in PowerShell/vscode-powershell

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.