Skip to content

Commit c1a53c3

Browse files
committed
docs: Add about DEBUG to README
- CLAUDE.md: customer persona, engineering principles (TDD, KISS, YAGNI, DRY, readability, low cognitive load), pre-push review checklist - README: add DEBUG mode to troubleshooting section Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> cleanup claude
1 parent 785ff82 commit c1a53c3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,13 @@ screenshot "dashboard", skip_area: [".timestamp", "#ad-banner"]
887887
Check that `Capybara::Screenshot.enabled` is not `false`. With `delayed: true` (default),
888888
comparisons run in `before_teardown`, not inline — errors appear after the test body.
889889

890+
**Debug mode**
891+
Set `DEBUG=1` to keep comparison runtime files (`.diff.png`, `.heatmap.diff.png`) and
892+
enable verbose diagnostic messages from the reporter:
893+
```bash
894+
DEBUG=1 bundle exec rake test
895+
```
896+
890897
## Development
891898

892899
After checking out the repo, run `bin/setup` to install dependencies.

0 commit comments

Comments
 (0)