forked from openkylin/kylin-code
由于js-debug的内置插件ID改变,添加需要新ID到需要的位置.
This commit is contained in:
parent
ab4f41f722
commit
14c3f5a176
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue