Interface DebugAdapterTracker

A Debug Adapter Tracker is a means to track the communication between VS Code and a Debug Adapter.

interface DebugAdapterTracker {
    onDidSendMessage?(message): void;
    onError?(error): void;
    onExit?(code, signal): void;
    onWillReceiveMessage?(message): void;
    onWillStartSession?(): void;
    onWillStopSession?(): void;
}

Implemented by

Methods

  • The debug adapter has sent a Debug Adapter Protocol message to VS Code.

    Parameters

    • message: any

    Returns void

  • The debug adapter has exited with the given exit code or signal.

    Parameters

    • code: undefined | number
    • signal: undefined | string

    Returns void

  • The debug adapter is about to receive a Debug Adapter Protocol message from VS Code.

    Parameters

    • message: any

    Returns void