diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-22 09:08:09 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-22 10:58:53 -0500 |
commit | 5f65d87b14245d4523bc866a75a16b6c55a7ce70 (patch) | |
tree | bd4d404c80baa1c7e6e25e2335ffcee52702ee66 /coverage/control.py | |
parent | c51ac463f07e31c87b20f50bd7e6445e4e4e83a2 (diff) | |
download | python-coveragepy-git-5f65d87b14245d4523bc866a75a16b6c55a7ce70.tar.gz |
feat: the debug output file can be specified in the config file. #1319
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/coverage/control.py b/coverage/control.py index d37c77e3..78e0c70e 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -303,10 +303,8 @@ class Coverage(TConfigurable): self._inited = True - # Create and configure the debugging controller. COVERAGE_DEBUG_FILE - # is an environment variable, the name of a file to append debug logs - # to. - self._debug = DebugControl(self.config.debug, self._debug_file) + # Create and configure the debugging controller. + self._debug = DebugControl(self.config.debug, self._debug_file, self.config.debug_file) if "multiprocessing" in (self.config.concurrency or ()): # Multi-processing uses parallel for the subprocesses, so also use |