MCPcopy Index your code
hub / github.com/microsoft/vscode-js-debug / install

Method install

src/ui/dwarfModuleProviderImpl.ts:69–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 }
68
69 private async install() {
70 await vscode.window.withProgress(
71 {
72 location: vscode.ProgressLocation.Notification,
73 title: l10n.t('Installing the DWARF debugger...'),
74 },
75 async () => {
76 try {
77 await vscode.commands.executeCommand('workbench.extensions.installExtension', EXT_ID);
78 vscode.window.showInformationMessage(
79 l10n.t(
80 'Installation complete! The extension will be used after you restart your debug session.',
81 ),
82 );
83 } catch (e) {
84 vscode.window.showErrorMessage(e.message || String(e));
85 }
86 },
87 );
88 }
89}

Callers 1

promptMethod · 0.95

Calls 1

executeCommandMethod · 0.80

Tested by

no test coverage detected