Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DebugModes Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Specifies the debugger mode for the Windows PowerShell. Introduced in Windows PowerShell 4.0.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

[FlagsAttribute]
public enum DebugModes

Member nameDescription
Default

Default setting for original PowerShell script debugging. Compatible with PowerShell Versions 2 and 3.

LocalScript

PowerShell script debugging including workflow script.

None

PowerShell script debugging is disabled.

RemoteScript

PowerShell remote script and workflow debugging.

Return to top
Show: