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

Function getDebugLogPath

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

Source from the content-addressed store, hash-verified

226}
227
228export function getDebugLogPath(): string {
229 return (
230 getDebugFilePath() ??
231 process.env.CLAUDE_CODE_DEBUG_LOGS_DIR ??
232 join(getClaudeConfigHomeDir(), 'debug', `${getSessionId()}.txt`)
233 )
234}
235
236/**
237 * 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