Updated: April 27, 2016
Applies To: Windows PowerShell
Provides information about why Windows PowerShell entered the debugger. This class is introduced in Windows PowerShell 2.0.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Creates a new instance of the PSDebugContext class, using the specified invocation infomration and breakpoints.
Gets the breakpoints where execution was suspended. This property is introduced in Windows PowerShell 2.0.
Gets information about how the current command was invoked. This information includes the name of the command, the string used to invoke the command, and where the command is in the pipeline. This property is introduced in Windows PowerShell 2.0.
This information is also available through the $PSDebugContext environment variable.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.