MCPcopy Create free account
hub / github.com/ScriptedAlchemy/devtools-debugger-mcp / debugLog

Function debugLog

tests/node-debug.test.ts:10–10  ·  view source on GitHub ↗
(...args: unknown[])

Source from the content-addressed store, hash-verified

8const scriptPath = path.resolve('tests/fixtures/sample-script.js');
9const debug = !!process.env.DEBUG_CDP_TEST;
10const debugLog = (...args: unknown[]) => { if (debug) console.log(...args); };
11
12async function startDebuggedProcess(): Promise<{ proc: ChildProcess, port: number }>{
13 const proc = spawn('node', ['--inspect-brk=0', scriptPath], {

Callers 2

dumpLocalScopeFunction · 0.85
node-debug.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected