未验证 提交 524441ff 编写于 作者: C Connor Peet

debug: add pwa prefix as an extension host debugger

上级 402acff0
......@@ -28,7 +28,15 @@ export function isSessionAttach(session: IDebugSession): boolean {
}
export function isExtensionHostDebugging(config: IConfig) {
return config.type && equalsIgnoreCase(config.type === 'vslsShare' ? (<any>config).adapterProxy.configuration.type : config.type, 'extensionhost');
if (!config.type) {
return false;
}
const type = config.type === 'vslsShare'
? (<any>config).adapterProxy.configuration.type
: config.type;
return equalsIgnoreCase(type, 'extensionhost') || equalsIgnoreCase(type, 'pwa-extensionhost');
}
// only a debugger contributions with a label, program, or runtime attribute is considered a "defining" or "main" debugger contribution
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册