Stop / disconnect of child session should always respect the parent session
fixes #125230
This commit is contained in:
parent
48bcb4a831
commit
cf212bfb03
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export function filterExceptionsFromTelemetry<T extends { [key: string]: unknown
|
||||||
|
|
||||||
|
|
||||||
export function isSessionAttach(session: IDebugSession): boolean {
|
export function isSessionAttach(session: IDebugSession): boolean {
|
||||||
return session.configuration.request === 'attach' && !getExtensionHostDebugSession(session);
|
return session.configuration.request === 'attach' && !getExtensionHostDebugSession(session) && (!session.parentSession || isSessionAttach(session.parentSession));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue