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

Function debug

src/extraction/kernel/loader.ts:94–96  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

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}
97
98/** Languages the loaded binary supports (contract-verified). Empty when no kernel. */
99let kernelLanguages: ReadonlySet<string> = new Set();

Callers 2

verifyContractFunction · 0.70
getKernelFunction · 0.70

Calls 2

debugEnabledFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected