<!-- Vote on feature requests by adding a 👍. This helps maintainers prioritize what to work on. * Please fill out this template with all the relevant information so we can understand what's going on and fix the issue. We appreciate bugs filed and PRs submitted! * Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). It'd be great if after the discussion you're the one who submits the PR that implements this feature. If you've never done that before, that's great! Check this free short video tutorial to learn how: http://kcd.im/pull-request If this is an issue with the documentation, please file an issue in the docs repo: https://github.com/alexkrolick/testing-library-docs --> ### Describe the feature you'd like: DTL currently provides several debug methods that pretty print the DOM What if instead of, or in addition to, these methods we added a debug scope using the debug npm module? https://www.npmjs.com/package/debug Before: - write test - get weird output - add debug log calls to test After: - `DEBUG=dom:query:* yarn test` (on changed files or with a specific test regex) <!-- A clear and concise description of what you want to happen. Add any considered drawbacks. --> ### Suggested implementation: <!-- Helpful but optional 😀 --> ### Describe alternatives you've considered: <!-- A clear and concise description of any alternative solutions or features you've considered. --> ### Teachability, Documentation, Adoption, Migration Strategy: <!-- If you can, explain how users will be able to use this and possibly write out a version of the docs. -->