A debug adapter that implements the Debug Adapter Protocol can be registered with the editor if it implements the DebugAdapter interface.
A debug adapter that implements the Debug Adapter Protocol can be registered with the editor if it implements the DebugAdapter interface.
(dispose debug-adapter)Dispose this object.
Returns: any
Dispose this object. **Returns:** `any`
(handle-message debug-adapter message)Handle a Debug Adapter Protocol message. Messages can be requests, responses, or events. Results or errors are returned via onSendMessage events.
Parameters:
message: DebugProtocolMessage - A Debug Adapter Protocol messageReturns: void
Handle a Debug Adapter Protocol message. Messages can be requests, responses, or events. Results or errors are returned via onSendMessage events. **Parameters:** - `message`: `DebugProtocolMessage` - A Debug Adapter Protocol message **Returns:** `void`
(on-did-send-message debug-adapter)(on-did-send-message debug-adapter listener)(on-did-send-message debug-adapter listener this-args)(on-did-send-message debug-adapter listener this-args disposables)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.
Parameters:
listener: (e: T) => any - The listener function will be called when the event happens.this-args: any - The this-argument which will be used when calling the event listener.disposables: Disposable[] | undefined - An array to which a {@link Disposable } will be added.Returns: Disposable - A disposable which unsubscribes the event listener.
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.
**Parameters:**
- `listener`: `(e: T) => any` - The listener function will be called when the event happens.
- `this-args`: `any` - The `this`-argument which will be used when calling the event listener.
- `disposables`: `Disposable[] | undefined` - An array to which a {@link Disposable } will be added.
**Returns:** `Disposable` - A disposable which unsubscribes the event listener.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |