Creates debug/ folder (txt files gitignored). Output is printed to the terminal and written to the file simultaneously. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>