Enable-RunspaceDebug

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

Syntax

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>]

Description

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

Examples

1:

2:

Parameters

-AppDomainName
Type:String[]
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BreakAll
Type:SwitchParameter
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ProcessName
Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Runspace
Type:Runspace[]
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-RunspaceId
Type:Int32[]
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunspaceInstanceId
Type:Guid[]
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunspaceName
Type:String[]
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False