◐ Shell
clean mode source ↗

Add property and event for debug attach by jborean93 · Pull Request #25788 · PowerShell/PowerShell

This was referenced

Jul 29, 2025

@iSazonov iSazonov added the CL-General

Indicates that a PR should be marked as a general cmdlet change in the Change Log

label

Jul 29, 2025

iSazonov

kilasuit

kilasuit

@kilasuit kilasuit added WG-Engine

core PowerShell engine, interpreter, and runtime

WG-Reviewed

A Working Group has reviewed this and made a recommendation

and removed WG-NeedsReview

Needs a review by the labeled Working Group

labels

Oct 6, 2025
Adds the `IsRemoteDebuggerAttached` property to `Runspace` that
indicates whether a debugger is attached to the Runspace through the
`Debug-Runspace` cmdlet. Also adds a new engine event
`PowerShell.OnDebugAttach` that is emitted when the debugger is
attached.

SeeminglyScience

Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>

SeeminglyScience

SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request

Dec 12, 2025
Adds the `IsRemoteDebuggerAttached` property to `Runspace` that
indicates whether a debugger is attached to the Runspace through the
`Debug-Runspace` cmdlet. Also adds a new engine event
`PowerShell.OnDebugAttach` that is emitted when the debugger is
attached.