MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / debugLog

Function debugLog

src/services/tree-sitter/__tests__/helpers.ts:22–26  ·  view source on GitHub ↗
(message: string, ...args: any[])

Source from the content-addressed store, hash-verified

20
21// Debug function to conditionally log messages
22export const debugLog = (message: string, ...args: any[]) => {
23 if (DEBUG) {
24 console.debug(message, ...args)
25 }
26}
27
28// Store the initialized TreeSitter for reuse
29let initializedTreeSitter: { Parser: typeof Parser; Language: typeof Language } | null = null

Calls 1

debugMethod · 0.65

Tested by

no test coverage detected