{"name":"CLAUDE_CODE_DEBUG_REPAINTS","slug":"claude-code-debug-repaints","family":"env","title":"Environment variables","noun":"environment variable","description":"Set CLAUDE_CODE_DEBUG_REPAINTS to capture which components trigger terminal redraws.","description_source":"entry","described_by":{"version":"2.1.227","anchor":"renderer-repaint-debugging-behind-an-environment-variable"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.227","released_at":"2026-08-10 20:56:57","spans":1}},"aliases":[],"entries":[{"version":"2.1.227","anchor":"renderer-repaint-debugging-behind-an-environment-variable","heading":"Renderer repaint debugging behind an environment variable","line":"Set CLAUDE_CODE_DEBUG_REPAINTS to capture which components trigger terminal redraws.","released_at":"2026-08-10 20:56:57","reason":"named in this entry, found in this entry's text"},{"version":"2.1.83","anchor":"internal-changes","heading":"","line":null,"released_at":"2026-03-24 22:16:47","reason":"found in this entry's text"}],"entries_total":2,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_DEBUG_LOG_LEVEL","slug":"claude-code-debug-log-level","description":"Minimum log level written to the debug log file. Values: `verbose`, `debug` (default), `info`, `warn`, `error`. Set to `verbose` to include high-volume diagnostics like full status line command output, or raise to `error` to reduce noise"},{"name":"CLAUDE_CODE_DEBUG_LOGS_DIR","slug":"claude-code-debug-logs-dir","description":"Override the debug log file path. Despite the name, this is a file path, not a directory. Requires debug mode to be enabled separately via `--debug`, `\/debug`, or the `DEBUG` environment variable: setting this variable alone does not enable logging. The [`--debug-file`](\/docs\/en\/cli-reference#cli-flags) flag does both at once. Defaults to `~\/.claude\/debug\/<session-id>.txt`"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-debug-repaints","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}