Skip to content

Commit

Permalink
make proposed stopDebugging API final; fixes microsoft#101883
Browse files Browse the repository at this point in the history
  • Loading branch information
weinand committed Aug 11, 2020
1 parent 21e633c commit 6445a96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 6 additions & 0 deletions src/vs/vscode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11215,6 +11215,12 @@ declare module 'vscode' {
*/
export function startDebugging(folder: WorkspaceFolder | undefined, nameOrConfiguration: string | DebugConfiguration, parentSessionOrOptions?: DebugSession | DebugSessionOptions): Thenable<boolean>;

/**
* Stop the given debug session or stop all debug sessions if session is omitted.
* @param session The [debug session](#DebugSession) to stop; if omitted all sessions are stopped.
*/
export function stopDebugging(session?: DebugSession): Thenable<void>;

/**
* Add breakpoints.
* @param breakpoints The breakpoints to add.
Expand Down
9 changes: 0 additions & 9 deletions src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,15 +762,6 @@ declare module 'vscode' {
debugAdapterExecutable?(folder: WorkspaceFolder | undefined, token?: CancellationToken): ProviderResult<DebugAdapterExecutable>;
}

export namespace debug {

/**
* Stop the given debug session or stop all debug sessions if session is omitted.
* @param session The [debug session](#DebugSession) to stop; if omitted all sessions are stopped.
*/
export function stopDebugging(session?: DebugSession): Thenable<void>;
}

//#endregion

//#region LogLevel: https://github.com/microsoft/vscode/issues/85992
Expand Down

0 comments on commit 6445a96

Please sign in to comment.