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
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-BreakAll
Type:
SwitchParameter
Position:
1
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-ProcessName
Type:
String
Position:
0
Default value:
None
Required:
False
Accept pipeline input:
False
Accept wildcard characters:
False
-Runspace
Specifies a runspace object.
The simplest way to provide a value for this parameter is to specify a variable that contains the results of a filtered Get-Runspace command.