MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / debugEnabled

Function debugEnabled

src/extraction/kernel/loader.ts:93–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93const debugEnabled = () => process.env.CODEGRAPH_KERNEL_DEBUG === '1';
94function debug(msg: string): void {
95 if (debugEnabled()) process.stderr.write(`[codegraph-kernel] ${msg}\n`);
96}

Callers 1

debugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected