Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DebugAdapter

Implementers stand for the various types of debug adapters the system can talk to. Creation of debug adapters is not covered in this interface, but handling communication and the end of life is.

Hierarchy

  • DebugAdapter

Implemented by

Index

Properties

onClose: Event<void>

The connection to the debug adapter has been lost. This signals the end of life for this debug adapter instance.

onError: Event<Error>

An error has occurred communicating with the debug adapter. This does not meant the debug adapter has terminated.

onMessageReceived: Event<string>

A DAP protocol message has been received from the debug adapter

Methods

  • send(message: string): void
  • stop(): Promise<void>