File tree 2 files changed +6
-1
lines changed
src/vs/workbench/parts/debug
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -405,6 +405,7 @@ export interface IConfig extends IEnvConfig {
405
405
// internals
406
406
__sessionId ?: string ;
407
407
__restart ?: any ;
408
+ __autoAttach ?: boolean ;
408
409
port ?: number ; // TODO
409
410
}
410
411
Original file line number Diff line number Diff line change @@ -717,7 +717,11 @@ export class DebugService implements IDebugService {
717
717
this . panelService . openPanel ( REPL_ID , false ) . done ( undefined , errors . onUnexpectedError ) ;
718
718
}
719
719
720
- this . showError ( errorMessage , errors . isErrorWithActions ( error ) ? error . actions : [ ] ) ;
720
+ if ( resolved && resolved . request === 'attach' && resolved . __autoAttach ) {
721
+ // ignore attach timeouts in auto attach mode
722
+ } else {
723
+ this . showError ( errorMessage , errors . isErrorWithActions ( error ) ? error . actions : [ ] ) ;
724
+ }
721
725
return undefined ;
722
726
} ) ;
723
727
} ) ;
You can’t perform that action at this time.
0 commit comments