Skip to content

Commit 4150347

Browse files
committed
debug: activate debugger post-resolution if its type differs
Fixes microsoft#135090
1 parent f17b1ec commit 4150347

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vs/workbench/contrib/debug/browser/debugConfigurationManager.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ export class ConfigurationManager implements IConfigurationManager {
133133
}
134134
}));
135135

136+
// The resolver can change the type, ensure activation happens, #135090
137+
if (result?.type && result.type !== config.type) {
138+
await this.activateDebuggers('onDebugResolve', result.type);
139+
}
140+
136141
return result;
137142
}
138143

0 commit comments

Comments
 (0)