()
| 226 | } |
| 227 | |
| 228 | export 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. |
no test coverage detected