MCPcopy Create free account
hub / github.com/codeaashu/claude-code / toDebug

Method toDebug

src/ink/ink.tsx:1575–1575  ·  view source on GitHub ↗
(...args: unknown[])

Source from the content-addressed store, hash-verified

1573 const con = console;
1574 const originals: Partial<Record<keyof Console, Console[keyof Console]>> = {};
1575 const toDebug = (...args: unknown[]) => logForDebugging(`console.log: ${format(...args)}`);
1576 const toError = (...args: unknown[]) => logError(new Error(`console.error: ${format(...args)}`));
1577 for (const m of CONSOLE_STDOUT_METHODS) {
1578 originals[m] = con[m];

Callers

nothing calls this directly

Calls 1

logForDebuggingFunction · 0.85

Tested by

no test coverage detected