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

Method addScript

src/adapter/source.ts:172–174  ·  view source on GitHub ↗

* Associated a script with this source. This is only valid for a source * from the runtime, not a SourceFromMap.

(script: ISourceScript)

Source from the content-addressed store, hash-verified

170 * from the runtime, not a {@link SourceFromMap}.
171 */
172 addScript(script: ISourceScript): void {
173 this._scripts.push(script);
174 }
175
176 /**
177 * Filters scripts from a source, done when an execution context is removed.

Callers 1

createSourceMethod · 0.80

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected