MCPcopy Create free account
hub / github.com/Noumena-Network/code / enableDebugLogging

Function enableDebugLogging

src/utils/debug.ts:180–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 * with --debug. Returns true if logging was already active.
179 */
180export function enableDebugLogging(): boolean {
181 const wasActive = isDebugMode() || isInternalBuild()
182 runtimeDebugEnabled = true
183 isDebugMode.cache.clear?.()
184 return wasActive
185}
186
187// Extract and parse debug filter from command line arguments
188// Exported for testing purposes

Callers 1

getPromptForCommandFunction · 0.85

Calls 3

isDebugModeFunction · 0.85
isInternalBuildFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected