The currently active {@link DebugSession debug session} or undefined
. The active debug session is the one
represented by the debug action floating window or the one currently shown in the drop down menu of the debug action floating window.
If no debug session is active, the value is undefined
.
The currently active {@link DebugSession debug session} or `undefined`. The active debug session is the one represented by the debug action floating window or the one currently shown in the drop down menu of the debug action floating window. If no debug session is active, the value is `undefined`.
(configuration)
The "resolved" {@link DebugConfiguration debug configuration} of this session. "Resolved" means that
Returns: DebugConfiguration
The "resolved" {@link DebugConfiguration debug configuration} of this session. "Resolved" means that - all variables have been substituted and - platform specific attribute sections have been "flattened" for the matching platform and removed for non-matching platforms. **Returns:** `DebugConfiguration`
(custom-request command)
(custom-request command args)
Send a custom request to the debug adapter.
Parameters:
command
: string
args
: any
Returns: Thenable<any>
Send a custom request to the debug adapter. **Parameters:** - `command`: `string` - `args`: `any` **Returns:** `Thenable<any>`
(debug-protocol-breakpoint breakpoint)
Maps a breakpoint in the editor to the corresponding Debug Adapter Protocol (DAP) breakpoint that is managed by the debug adapter of the debug session.
If no DAP breakpoint exists (either because the editor breakpoint was not yet registered or because the debug adapter is not interested in the breakpoint), the value undefined
is returned.
Parameters:
breakpoint
: Breakpoint
- A {@link Breakpoint } in the editor.Returns: Thenable<DebugProtocolBreakpoint | undefined>
- A promise that resolves to the Debug Adapter Protocol breakpoint or undefined
.
Maps a breakpoint in the editor to the corresponding Debug Adapter Protocol (DAP) breakpoint that is managed by the debug adapter of the debug session. If no DAP breakpoint exists (either because the editor breakpoint was not yet registered or because the debug adapter is not interested in the breakpoint), the value `undefined` is returned. **Parameters:** - `breakpoint`: `Breakpoint` - A {@link Breakpoint } in the editor. **Returns:** `Thenable<DebugProtocolBreakpoint | undefined>` - A promise that resolves to the Debug Adapter Protocol breakpoint or `undefined`.
(id)
The unique ID of this debug session.
Returns: string
The unique ID of this debug session. **Returns:** `string`
(name)
The debug session's name is initially taken from the {@link DebugConfiguration debug configuration}. Any changes will be properly reflected in the UI.
Returns: string
The debug session's name is initially taken from the {@link DebugConfiguration debug configuration}. Any changes will be properly reflected in the UI. **Returns:** `string`
(parent-session)
The parent session of this debug session, if it was created as a child.
Returns: DebugSession | undefined
The parent session of this debug session, if it was created as a child. **Returns:** `DebugSession | undefined`
(set-name! value)
The debug session's name is initially taken from the {@link DebugConfiguration debug configuration}. Any changes will be properly reflected in the UI.
The debug session's name is initially taken from the {@link DebugConfiguration debug configuration}. Any changes will be properly reflected in the UI.
(type)
The debug session's type from the {@link DebugConfiguration debug configuration}.
Returns: string
The debug session's type from the {@link DebugConfiguration debug configuration}. **Returns:** `string`
(workspace-folder)
The workspace folder of this session or undefined
for a folderless setup.
Returns: WorkspaceFolder | undefined
The workspace folder of this session or `undefined` for a folderless setup. **Returns:** `WorkspaceFolder | undefined`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close