1 import * as vscode from "vscode";
4 * Callback used to generate the actual command to be executed to launch the lldb-dap binary.
6 * @param session - The information of the debug session to be launched.
8 * @param packageJSONExecutable - An optional {@link vscode.DebugAdapterExecutable executable} for
9 * lldb-dap if specified in the package.json file.
11 export type LLDBDapCreateDAPExecutableCommand = (
12 session: vscode.DebugSession,
13 packageJSONExecutable: vscode.DebugAdapterExecutable | undefined,
14 ) => Promise<vscode.DebugAdapterExecutable | undefined>;
17 * The options that this extension accepts.
19 export interface LLDBDapOptions {
20 createDapExecutableCommand: LLDBDapCreateDAPExecutableCommand;
21 // The name of the debugger type as specified in the package.json file.