MCPcopy
hub / github.com/slopus/happy / debug

Method debug

packages/happy-cli/src/ui/logger.ts:69–80  ·  view source on GitHub ↗
(message: string, ...args: unknown[])

Source from the content-addressed store, hash-verified

67 }
68
69 debug(message: string, ...args: unknown[]): void {
70 this.logToFile(`[${this.localTimezoneTimestamp()}]`, message, ...args)
71
72 // NOTE: @kirill does not think its a good ideas,
73 // as it will break us using claude in interactive mode.
74 // Instead simply open the debug file in a new editor window.
75 //
76 // Also log to console in development mode
77 // if (process.env.DEBUG) {
78 // this.logToConsole('debug', '', message, ...args)
79 // }
80 }
81
82 debugLargeJson(
83 message: string,

Callers 15

debugLargeJsonMethod · 0.95
infoMethod · 0.95
infoDeveloperMethod · 0.95
warnMethod · 0.95
logToConsoleMethod · 0.95
index.tsFile · 0.80
persistSessionFunction · 0.80
runGeminiFunction · 0.80
applyPendingSessionSwapFunction · 0.80
sendReadyFunction · 0.80
handleAbortFunction · 0.80
handleKillSessionFunction · 0.80

Calls 2

logToFileMethod · 0.95

Tested by

no test coverage detected