提交 a7996af3 编写于 作者: I isidor

debug: fire onDidNewSession when a session restarts

上级 c9844128
...@@ -583,8 +583,10 @@ export class DebugService implements IDebugService { ...@@ -583,8 +583,10 @@ export class DebugService implements IDebugService {
session.setConfiguration({ resolved, unresolved }); session.setConfiguration({ resolved, unresolved });
session.configuration.__restart = restartData; session.configuration.__restart = restartData;
this.launchOrAttachToSession(session, shouldFocus) this.launchOrAttachToSession(session, shouldFocus).then(() => {
.then(() => c(null), err => e(err)); this._onDidNewSession.fire(session);
c(null);
}, err => e(err));
}); });
}, 300); }, 300);
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册