PSDataStreams.Debug Property

Definition

Gets or sets the debug buffer. Powershell invocation writes the debug data into this buffer. Can be null.

public:
 property System::Management::Automation::PSDataCollection<System::Management::Automation::DebugRecord ^> ^ Debug { System::Management::Automation::PSDataCollection<System::Management::Automation::DebugRecord ^> ^ get(); void set(System::Management::Automation::PSDataCollection<System::Management::Automation::DebugRecord ^> ^ value); };
public System.Management.Automation.PSDataCollection<System.Management.Automation.DebugRecord> Debug { get; set; }
member this.Debug : System.Management.Automation.PSDataCollection<System.Management.Automation.DebugRecord> with get, set
Public Property Debug As PSDataCollection(Of DebugRecord)

Property Value

Exceptions

Powershell instance cannot be changed in its current state.

Object is disposed.

Applies to