mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Do not raw attach straight away due to wrong event ordering
fixes #29334
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user