From 5f65d87b14245d4523bc866a75a16b6c55a7ce70 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 22 Jan 2023 09:08:09 -0500 Subject: feat: the debug output file can be specified in the config file. #1319 --- coverage/config.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'coverage/config.py') diff --git a/coverage/config.py b/coverage/config.py index 046c1b00..e15d2aff 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -199,6 +199,7 @@ class CoverageConfig(TConfigurable, TPluginConfig): self.cover_pylib = False self.data_file = ".coverage" self.debug: List[str] = [] + self.debug_file: Optional[str] = None self.disable_warnings: List[str] = [] self.dynamic_context: Optional[str] = None self.parallel = False @@ -375,6 +376,7 @@ class CoverageConfig(TConfigurable, TPluginConfig): ('cover_pylib', 'run:cover_pylib', 'boolean'), ('data_file', 'run:data_file'), ('debug', 'run:debug', 'list'), + ('debug_file', 'run:debug_file'), ('disable_warnings', 'run:disable_warnings', 'list'), ('dynamic_context', 'run:dynamic_context'), ('parallel', 'run:parallel', 'boolean'), -- cgit v1.2.1