Partilhar via


DebugModes Enum

Definition

Defines debugging mode.

This enumeration supports a bitwise combination of its member values.

public enum class DebugModes
[System.Flags]
public enum DebugModes
[<System.Flags>]
type DebugModes = 
Public Enum DebugModes
Inheritance
DebugModes
Attributes

Fields

Name Value Description
None 0

PowerShell script debugging is disabled.

Default 1

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

LocalScript 2

PowerShell script debugging.

RemoteScript 4

PowerShell remote script debugging.

Applies to