This class exposes the information about the debugger that is available via $PSDebugContext
public class PSDebugContext
If not empty, indicates that the execution was suspended because one or more breakpoints were hit. Otherwise, the execution was suspended as part of a step operation.
InvocationInfo of the command currently being executed