提交 771b684e 编写于 作者: I isidor

Do not raw attach straight away due to wrong event ordering

fixes #29334
上级 8da3ea97
......@@ -165,7 +165,7 @@ export class DebugService implements debug.IDebugService {
const process = this.model.getProcesses().filter(p => strings.equalsIgnoreCase(p.configuration.type, 'extensionhost')).pop();
const session = process ? <RawDebugSession>process.session : null;
if (broadcast.channel === EXTENSION_ATTACH_BROADCAST_CHANNEL) {
this.rawAttach(session, broadcast.payload.port);
setTimeout(() => this.rawAttach(session, broadcast.payload.port), 300);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册