{"name":"DEBUG","slug":"debug","family":"env","title":"Environment variables","noun":"environment variable","description":"When `1`, `true`, `yes` or `on`, turns on Claude Code's debug mode from launch, as `--debug` does. Any non-empty value also makes the `self-hosted-runner` setup and doctor commands print the argv of the session they spawn to stderr. Bundled third-party libraries read `DEBUG` with their own meaning as well.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[{"source":"api","path":"about-claude\/use-case-guides\/customer-support-chat","title":"customer-support-chat","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/best-practices","title":"PDF Processing","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/claude-api-skill","title":"claude-api-skill","documented":false},{"source":"api","path":"agents-and-tools\/mcp-tunnels\/reference","title":"reference","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/bash-tool","title":"bash-tool","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/code-execution-tool","title":"code-execution-tool","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/computer-use-tool","title":"computer-use-tool","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/fine-grained-tool-streaming","title":"fine-grained-tool-streaming","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/overview","title":"overview","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/programmatic-tool-calling","title":"Process results programmatically","documented":false}],"docs_total":12,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/debug","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}