Show diagnostics about ignores, globs, and traversal.
Section: Debug missing or surprising results
Inspect filtering decisions
bash
bash
rg --debug 'docker' .Explanation
This reveals whether a path was skipped because of hidden-file, ignore, or glob rules.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Debug missing or surprising results
See what happens with binary detection
Override binary skipping during diagnosis.
Audit ignore-file influence
Run without ignore support to compare results.
Use trace logging for deeper internals
Emit more verbose debugging than `--debug`.