MCPcopy Index your code
hub / github.com/nodejs/node / addScript

Method addScript

deps/v8/test/inspector/protocol-test.js:164–166  ·  view source on GitHub ↗
(string, lineOffset, columnOffset, url)

Source from the content-addressed store, hash-verified

162 }
163
164 addScript(string, lineOffset, columnOffset, url) {
165 utils.compileAndRunWithOrigin(this.id, string, url || '', lineOffset || 0, columnOffset || 0, false);
166 }
167
168 addInlineScript(string, url) {
169 const match = (new Error().stack).split('\n')[2].match(/([0-9]+):([0-9]+)/);

Calls

no outgoing calls

Tested by

no test coverage detected