mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Only focus on new session when there is no currently focused session
fixes #128132
This commit is contained in:
parent
7443bb5c8c
commit
b64b1821ae
|
@ -602,7 +602,7 @@ export class DebugService implements IDebugService {
|
|||
const launchJsonExists = !!session.root && !!this.configurationService.getValue<IGlobalConfig>('launch', { resource: session.root.uri });
|
||||
await this.telemetry.logDebugSessionStart(dbgr!, launchJsonExists);
|
||||
|
||||
if (forceFocus || !this.viewModel.focusedSession || session.parentSession === this.viewModel.focusedSession) {
|
||||
if (forceFocus || !this.viewModel.focusedSession) {
|
||||
await this.focusStackFrame(undefined, undefined, session);
|
||||
}
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in a new issue