由于js-debug的内置插件ID改变,添加需要新ID到需要的位置.

This commit is contained in:
wangpenglong 2023-04-19 11:02:30 +08:00 committed by chriswang521
parent ab4f41f722
commit 14c3f5a176
2 changed files with 4 additions and 2 deletions

View File

@ -294,7 +294,8 @@ const marketplaceWebExtensionsExclude = new Set([
'ms-vscode.node-debug2',
'ms-vscode.js-debug-companion',
'ms-vscode.js-debug',
'ms-vscode.vscode-js-profile-table'
'ms-vscode.vscode-js-profile-table',
'KylinIDETeam.js-debug'
]);
interface IBuiltInExtension {

View File

@ -366,7 +366,8 @@ async function getIpcAddress(context: vscode.ExtensionContext) {
// todo: make a way in the API to read environment data directly without activating js-debug?
const jsDebugPath =
vscode.extensions.getExtension('ms-vscode.js-debug-nightly')?.extensionPath ||
vscode.extensions.getExtension('ms-vscode.js-debug')?.extensionPath;
vscode.extensions.getExtension('ms-vscode.js-debug')?.extensionPath ||
vscode.extensions.getExtension('KylinIDETeam.js-debug')?.extensionPath;
const settingsValue = getJsDebugSettingKey();
if (cachedIpc?.jsDebugPath === jsDebugPath && cachedIpc?.settingsValue === settingsValue) {