MCPcopy
hub / github.com/codeaashu/claude-code / getDebugLogPath

Function getDebugLogPath

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

Source from the content-addressed store, hash-verified

228}
229
230export function getDebugLogPath(): string {
231 return (
232 getDebugFilePath() ??
233 process.env.CLAUDE_CODE_DEBUG_LOGS_DIR ??
234 join(getClaudeConfigHomeDir(), 'debug', `${getSessionId()}.txt`)
235 )
236}
237
238/**
239 * Updates the latest debug log symlink to point to the current debug log file.

Callers 4

LogoV2Function · 0.85
getDebugWriterFunction · 0.85
debug.tsFile · 0.85
getPromptForCommandFunction · 0.85

Calls 1

getSessionIdFunction · 0.85

Tested by

no test coverage detected