mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 19:48:09 +00:00
ignore auto attach timeouts; fixes #57232
This commit is contained in:
parent
2c9408fecf
commit
5a8a6a71ff
2 changed files with 6 additions and 1 deletions
|
@ -405,6 +405,7 @@ export interface IConfig extends IEnvConfig {
|
|||
// internals
|
||||
__sessionId?: string;
|
||||
__restart?: any;
|
||||
__autoAttach?: boolean;
|
||||
port?: number; // TODO
|
||||
}
|
||||
|
||||
|
|
|
@ -717,7 +717,11 @@ export class DebugService implements IDebugService {
|
|||
this.panelService.openPanel(REPL_ID, false).done(undefined, errors.onUnexpectedError);
|
||||
}
|
||||
|
||||
if (resolved && resolved.request === 'attach' && resolved.__autoAttach) {
|
||||
// ignore attach timeouts in auto attach mode
|
||||
} else {
|
||||
this.showError(errorMessage, errors.isErrorWithActions(error) ? error.actions : []);
|
||||
}
|
||||
return undefined;
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue