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

Function debugEnabled

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

Source from the content-addressed store, hash-verified

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

Callers 1

debugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected