File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/debug Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -797,7 +797,7 @@ export class DebugModel implements IDebugModel {
797797 // Make sure to de-dupe if a session is re-intialized. In case of EH debugging we are adding a session again after an attach.
798798 return false ;
799799 }
800- if ( s . state === State . Inactive && s . getLabel ( ) === session . getLabel ( ) ) {
800+ if ( s . state === State . Inactive && s . configuration . name === session . configuration . name ) {
801801 // Make sure to remove all inactive sessions that are using the same configuration as the new session
802802 return false ;
803803 }
Original file line number Diff line number Diff line change @@ -783,6 +783,7 @@ export class DebugSession implements IDebugSession {
783783 } ) ) ;
784784
785785 this . rawListeners . push ( this . raw . onDidExitAdapter ( event => {
786+ this . initialized = true ;
786787 this . _onDidEndAdapter . fire ( event ) ;
787788 } ) ) ;
788789 }
You can’t perform that action at this time.
0 commit comments