PSRunspaceDebug Class

Definition

Runspace Debug Options class

public ref class PSRunspaceDebug sealed
public ref class PSRunspaceDebug sealed
class PSRunspaceDebug sealed
public sealed class PSRunspaceDebug
type PSRunspaceDebug = class
Public NotInheritable Class PSRunspaceDebug
Inheritance
PSRunspaceDebug

Constructors

PSRunspaceDebug(Boolean, Boolean, String, Int32)

Constructor.

Properties

BreakAll

When true this property will cause 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.

Enabled

When true this property will cause any breakpoints set in a Runspace to stop the running command or script when the breakpoint is hit, regardless of whether a debugger is currently attached. The script or command will remain stopped until a debugger is attached to debug the breakpoint.

RunspaceId

Local Id of runspace for which the options apply.

RunspaceName

Name of runspace for which the options apply.

Applies to