CmdID

CmdID / PowerShell / Cmdlets / Enable

Enable-RunspaceDebug

Enables debugging on runspaces where any breakpoint is preserved until a debugger is attached. PowerShell reference

From the PowerShell reference 7 parameters

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Enables debugging on runspaces where any breakpoint is preserved until a debugger is attached. The Enable-RunspaceDebug cmdlet enables debugging on runspaces where any breakpoint is preserved until a debugger is attached.

Enable-RunspaceDebug [-BreakAll] [[-RunspaceName] <String[]>] [<CommonParameters>]
Enable-RunspaceDebug [-BreakAll] [-Runspace] <Runspace[]> [<CommonParameters>]
Enable-RunspaceDebug [-BreakAll] [-RunspaceId] <Int32[]> [<CommonParameters>]
Enable-RunspaceDebug [-RunspaceInstanceId] <Guid[]> [<CommonParameters>]
Enable-RunspaceDebug [[-ProcessName] <String>] [[-AppDomainName] <String[]>] [<CommonParameters>]

1: Enable the default runspace debugger

Enable-RunspaceDebug Get-RunspaceDebugIdentify

Its page in the reference: Enable-RunspaceDebug.

Parameters

7 in the PowerShell reference
-AppDomainNameThe name of the application domain that hosts the PowerShell runspace.
-BreakAllCauses any running command or script in the Runspace to stop in step mode, regardless of whether a debugger is currently attached. The script or command will remain stopped until a debugger is attached to debug the current stop point.
-ProcessNameThe name of the process that hosts the PowerShell runspace.
-RunspaceOne or more Runspace objects to be disabled.
-RunspaceIdOne or more Runspace Id numbers to be disabled.
-RunspaceInstanceIdOne or more Runspace GUIDs to be disabled.
-RunspaceNameOne or more Runspace names to be disabled.