< Back

Enable-RunspaceDebug

Tue Jan 29, 2019 10:22 pm

NAME Enable-RunspaceDebug



SYNOPSIS

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





SYNTAX

Enable-RunspaceDebug [[-ProcessName] <String>] [[-AppDomainName] <String[]>] [<CommonParameters>]



Enable-RunspaceDebug [[-RunspaceName] <String[]>] [[-BreakAll]] [<CommonParameters>]



Enable-RunspaceDebug [-Runspace] <Runspace[]> [[-BreakAll]] [<CommonParameters>]



Enable-RunspaceDebug [-RunspaceId] <Int32[]> [[-BreakAll]] [<CommonParameters>]



Enable-RunspaceDebug [-RunspaceInstanceId] <Guid[]> [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-AppDomainName <String[]>

@{Text=}



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-BreakAll [<SwitchParameter>]

@{Text=}



Required? false

Position? 1

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ProcessName <String>

@{Text=}



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Runspace <Runspace[]>

@{Text=}



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-RunspaceId <Int32[]>

@{Text=}



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RunspaceInstanceId <Guid[]>

@{Text=}



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RunspaceName <String[]>

@{Text=}



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









1:









2:











RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=821765

Disable-RunspaceDebug

Get-RunspaceDebug