diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2022-02-04 20:05:05 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-02-06 11:09:53 -0500 |
| commit | 642647abdadea247c32d8dad8e5755f52238574c (patch) | |
| tree | c20650a43f3cbf4d8ef83ac52855861e748a2cc4 /doc | |
| parent | bf99bb663940f203bee6d373f6b6f30840831fab (diff) | |
| download | python-coveragepy-git-642647abdadea247c32d8dad8e5755f52238574c.tar.gz | |
debug: add 'pybehave' debug information
It shows the behavior flags from coverage.env.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/cmd.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst index afc9c27a..9b710a3e 100644 --- a/doc/cmd.rst +++ b/doc/cmd.rst @@ -981,6 +981,9 @@ of operation to log: * ``process``: show process creation information, and changes in the current directory. +* ``pybehave``: show the values of `internal flags <env.py_>`_ describing the + behavior of the current version of Python. + * ``self``: annotate each debug message with the object printing the message. * ``sql``: log the SQL statements used for recording data. @@ -991,6 +994,8 @@ of operation to log: * ``trace``: print every decision about whether to trace a file or not. For files not being traced, the reason is also given. +.. _env.py: https://github.com/nedbat/coveragepy/blob/master/coverage/env.py + Debug options can also be set with the ``COVERAGE_DEBUG`` environment variable, a comma-separated list of these options. |
