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

Method setEnabled

src/ui/sourceSteppingUI.ts:30–36  ·  view source on GitHub ↗
(enabled: boolean)

Source from the content-addressed store, hash-verified

28 }
29
30 const setEnabled = (enabled: boolean) => {
31 isDisabled.value = !enabled;
32 sourceMapSteppingEnabled.write(this.context.workspaceState, enabled);
33 for (const session of this.tracker.getConcreteSessions()) {
34 session.customRequest('setSourceMapStepping', { enabled });
35 }
36 };
37
38 context.subscriptions.push(
39 registerCommand(vscode.commands, Commands.EnableSourceMapStepping, () => {

Callers

nothing calls this directly

Calls 3

getConcreteSessionsMethod · 0.80
customRequestMethod · 0.80
writeMethod · 0.65

Tested by

no test coverage detected