提交 a7996af3 编写于 作者: I isidor

debug: fire onDidNewSession when a session restarts

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