Do not raw attach straight away due to wrong event ordering

fixes #29334
This commit is contained in:
isidor
2017-06-29 21:28:41 +02:00
parent 8da3ea97ab
commit 771b684e4a

View File

@@ -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;
}