interface DebugSession {
    configureAndConnect(
        onPause: (message: OnPauseEvent, complete: () => void) => void,
        captureAll: boolean,
    ): void;
    getLocalVariables(
        objectId: string,
        callback: (vars: Variables) => void,
    ): void;
    setPauseOnExceptions(captureAll: boolean): void;
}

Methods

  • Configures and connects to the debug session

    Parameters

    • onPause: (message: OnPauseEvent, complete: () => void) => void
    • captureAll: boolean

    Returns void

  • Gets local variables for an objectId

    Parameters

    • objectId: string
    • callback: (vars: Variables) => void

    Returns void

  • Updates which kind of exceptions to capture

    Parameters

    • captureAll: boolean

    Returns void