--debug-file
Directs debug output to a designated file and turns on debug mode.
Syntax
--debug-file <path>Example
Terminal
claude --debug-file /tmp/claude-debug.logProgress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
--debug-fileDirects debug output to a designated file and turns on debug mode.
--debug-file <path>claude --debug-file /tmp/claude-debug.log