Skip to content

Commit c739564

Browse files
committed
docs: add a note about using --debug=trace to debug No Data. #1379
1 parent 439ccad commit c739564

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/cmd.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ No data was collected (no-data-collected)
260260
This could be because you asked to measure only modules that never ran,
261261
or for other reasons.
262262

263+
To debug this problem, try using ``run --debug=trace`` to see the tracing
264+
decision made for each file.
265+
263266
Module XXX was previously imported, but not measured (module-not-measured)
264267
You asked coverage.py to measure module XXX, but it had already been imported
265268
when coverage started. This meant coverage.py couldn't monitor its

0 commit comments

Comments
 (0)