DebugAdapter

A debug adapter that implements the Debug Adapter Protocol can be registered with the editor if it implements the DebugAdapter interface.

Online Documentation

Properties

Link copied to clipboard

An event which fires after the debug adapter has sent a Debug Adapter Protocol message to the editor. Messages can be requests, responses, or events.

Functions

Link copied to clipboard
abstract fun dispose()

Function to clean up resources.

Link copied to clipboard
abstract fun handleMessage(message: DebugProtocolMessage)

Handle a Debug Adapter Protocol message. Messages can be requests, responses, or events. Results or errors are returned via onSendMessage events.