提交 430d6168 编写于 作者: I isidor

debug: first set active session then fire event

上级 8335810f
......@@ -870,8 +870,8 @@ export class DebugService implements debug.IDebugService {
if (session.disconnected) {
return TPromise.as(null);
}
this._onDidNewProcess.fire(process);
this.focusStackFrameAndEvaluate(null, process);
this._onDidNewProcess.fire(process);
const internalConsoleOptions = configuration.internalConsoleOptions || this.configurationService.getValue<debug.IDebugConfiguration>('debug').internalConsoleOptions;
if (internalConsoleOptions === 'openOnSessionStart' || (this.firstSessionStart && internalConsoleOptions === 'openOnFirstSessionStart')) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册