diff options
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 |