VS Code API
    Preparing search index...

    Interface DebugAdapterTracker

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

    interface DebugAdapterTracker {
        onDidSendMessage?(message: any): void;
        onError?(error: Error): void;
        onExit?(code: number | undefined, signal: string | undefined): void;
        onWillReceiveMessage?(message: any): void;
        onWillStartSession?(): void;
        onWillStopSession?(): void;
    }
    Index

    Methods

    • The debug adapter has sent a Debug Adapter Protocol message to the editor.

      Parameters

      • message: any

      Returns void

    • An error with the debug adapter has occurred.

      Parameters

      Returns void

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

      Parameters

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

      Returns void

    • The debug adapter is about to receive a Debug Adapter Protocol message from the editor.

      Parameters

      • message: any

      Returns void

    • A session with the debug adapter is about to be started.

      Returns void

    • The debug adapter session is about to be stopped.

      Returns void