()
| 400 | } |
| 401 | |
| 402 | export function getDebugLogPath(): string { |
| 403 | return ( |
| 404 | getDebugFilePath() ?? |
| 405 | process.env.CLAUDE_CODE_DEBUG_LOGS_DIR ?? |
| 406 | join(getClaudeConfigHomeDir(), 'debug', `${getSessionId()}.txt`) |
| 407 | ) |
| 408 | } |
| 409 | |
| 410 | /** |
| 411 | * Updates the latest debug log symlink to point to the current debug log file. |
no test coverage detected