PYTHON-5177 - Add instructions for enabling debug logs to CONTRIBUTING.md (#2170)

This commit is contained in:
Noah Stapp 2025-03-03 11:20:44 -05:00 committed by GitHub
parent e28f49c510
commit 38f97a3b49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -224,6 +224,10 @@ the pages will re-render and the browser will automatically refresh.
- Run the tests with `just run-tests`.
- When done, run `just teardown-tests` to clean up.
## Enable Debug Logs
- Use `-o log_cli_level="DEBUG" -o log_cli=1` with `just test` or `pytest`.
- Add `log_cli_level = "DEBUG` and `log_cli = 1` to the `tool.pytest.ini_options` section in `pyproject.toml` for Evergreen patches or to enable debug logs by default on your machine.
## Re-sync Spec Tests
If you would like to re-sync the copy of the specification tests in the