MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / enableDebugLogging

Function enableDebugLogging

source code/utils/debug.ts:66–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 * with --debug. Returns true if logging was already active.
65 */
66export function enableDebugLogging(): boolean {
67 const wasActive = isDebugMode() || process.env.USER_TYPE === 'ant'
68 runtimeDebugEnabled = true
69 isDebugMode.cache.clear?.()
70 return wasActive
71}
72
73// Extract and parse debug filter from command line arguments
74// Exported for testing purposes

Callers 1

getPromptForCommandFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected