new debug session flag 'managedByParent' (for #128058)

This commit is contained in:
Andre Weinand 2021-07-08 12:10:51 +02:00
parent b503e9b7f7
commit 39725e3c7a
No known key found for this signature in database
GPG key ID: 845199EE2839F4EB

View file

@ -725,6 +725,24 @@ declare module 'vscode' {
//#endregion
// eslint-disable-next-line vscode-dts-region-comments
//#region @weinand: new debug session option 'managedByParent' (see https://github.com/microsoft/vscode/issues/128058)
/**
* Options for {@link debug.startDebugging starting a debug session}.
*/
export interface DebugSessionOptions {
/**
* Controls whether lifecycle requests like 'restart' are sent to the newly created session or its parent session.
* By default (if the property is false or missing), lifecycle requests are sent to the new session.
* This property is ignored if the session has no parent session.
*/
managedByParent?: boolean;
}
//#endregion
// eslint-disable-next-line vscode-dts-region-comments
//#region @weinand: variables view action contributions