MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getDebugLogPath

Function getDebugLogPath

source code/utils/debug.ts:232–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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