From 7b690aa976a6bb30261d68344104f817a812a677 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 16 Sep 2022 17:48:02 -0400 Subject: feat: --debug=pathmap will show details of re-mapping due to [paths] setting. --- doc/cmd.rst | 3 +++ doc/config.rst | 3 +++ 2 files changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/cmd.rst b/doc/cmd.rst index e2a60fc2..c05b7bce 100644 --- a/doc/cmd.rst +++ b/doc/cmd.rst @@ -1000,6 +1000,9 @@ of operation to log: * ``multiproc``: log the start and stop of multiprocessing processes. +* ``pathmap``: log the remapping of paths that happens during ``coverage + combine`` due to the ``[paths]`` setting. See :ref:`config_paths`. + * ``pid``: annotate all warnings and debug output with the process and thread ids. diff --git a/doc/config.rst b/doc/config.rst index 1b6f128d..66b02eac 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -350,6 +350,9 @@ against the source file found at "src/module.py". If you specify more than one list of paths, they will be considered in order. The first list that has a match will be used. +The ``--debug=pathmap`` option can be used to log details of the re-mapping of +paths. See :ref:`the --debug option `. + See :ref:`cmd_combine` for more information. -- cgit v1.2.1