mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fixes #70772
This commit is contained in:
parent
2c14471b5d
commit
5ef80a9acd
|
@ -432,9 +432,6 @@ export class DebugService implements IDebugService {
|
|||
|
||||
return this.launchOrAttachToSession(session).then(() => {
|
||||
|
||||
// since the initialized response has arrived announce the new Session (including extensions)
|
||||
this._onDidNewSession.fire(session);
|
||||
|
||||
const internalConsoleOptions = session.configuration.internalConsoleOptions || this.configurationService.getValue<IDebugConfiguration>('debug').internalConsoleOptions;
|
||||
if (internalConsoleOptions === 'openOnSessionStart' || (this.viewModel.firstSessionStart && internalConsoleOptions === 'openOnFirstSessionStart')) {
|
||||
this.panelService.openPanel(REPL_ID, false);
|
||||
|
@ -448,6 +445,9 @@ export class DebugService implements IDebugService {
|
|||
this.viewModel.setMultiSessionView(true);
|
||||
}
|
||||
|
||||
// since the initialized response has arrived announce the new Session (including extensions)
|
||||
this._onDidNewSession.fire(session);
|
||||
|
||||
return this.telemetryDebugSessionStart(root, session.configuration.type);
|
||||
}).then(() => true, (error: Error | string) => {
|
||||
|
||||
|
|
Loading…
Reference in a new issue