mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add no-op debug extensibility APIs (#4188)
This commit is contained in:
33
src/vs/vscode.proposed.d.ts
vendored
33
src/vs/vscode.proposed.d.ts
vendored
@@ -524,9 +524,38 @@ declare module 'vscode' {
|
||||
//#endregion
|
||||
|
||||
//#region André: debug
|
||||
// {{SQL CARBON EDIT}}
|
||||
// remove debug namespace
|
||||
|
||||
// deprecated
|
||||
|
||||
export interface DebugAdapterTracker {
|
||||
// VS Code -> Debug Adapter
|
||||
startDebugAdapter?(): void;
|
||||
toDebugAdapter?(message: any): void;
|
||||
stopDebugAdapter?(): void;
|
||||
|
||||
// Debug Adapter -> VS Code
|
||||
fromDebugAdapter?(message: any): void;
|
||||
debugAdapterError?(error: Error): void;
|
||||
debugAdapterExit?(code?: number, signal?: string): void;
|
||||
}
|
||||
|
||||
export interface DebugConfigurationProvider {
|
||||
/**
|
||||
* Deprecated, use DebugAdapterDescriptorFactory.provideDebugAdapter instead.
|
||||
* @deprecated Use DebugAdapterDescriptorFactory.createDebugAdapterDescriptor instead
|
||||
*/
|
||||
debugAdapterExecutable?(folder: WorkspaceFolder | undefined, token?: CancellationToken): ProviderResult<DebugAdapterExecutable>;
|
||||
|
||||
/**
|
||||
* Deprecated, use DebugAdapterTrackerFactory.createDebugAdapterTracker instead.
|
||||
* @deprecated Use DebugAdapterTrackerFactory.createDebugAdapterTracker instead
|
||||
*
|
||||
* The optional method 'provideDebugAdapterTracker' is called at the start of a debug session to provide a tracker that gives access to the communication between VS Code and a Debug Adapter.
|
||||
* @param session The [debug session](#DebugSession) for which the tracker will be used.
|
||||
* @param token A cancellation token.
|
||||
*/
|
||||
provideDebugAdapterTracker?(session: DebugSession, workspaceFolder: WorkspaceFolder | undefined, config: DebugConfiguration, token?: CancellationToken): ProviderResult<DebugAdapterTracker>;
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user