2222from coverage .config import CoverageConfig
2323from coverage .control import DEFAULT_DATAFILE
2424from coverage .core import CTRACER_FILE
25- from coverage .data import combinable_files , debug_data_file
25+ from coverage .data import CoverageData , combinable_files , debug_data_file
2626from coverage .debug import info_header , short_stack , write_formatted_info
2727from coverage .exceptions import NoSource , CoverageException , _ExceptionDuringRun
2828from coverage .execfile import PyRunner
@@ -561,7 +561,8 @@ def get_prog_name(self) -> str:
561561 'sys' to show installation information;
562562 'config' to show the configuration;
563563 'premain' to show what is calling coverage;
564- 'pybehave' to show internal flags describing Python behavior.
564+ 'pybehave' to show internal flags describing Python behavior;
565+ 'sqlite' to show SQLite compilation options.
565566 """
566567 ),
567568 ),
@@ -1035,7 +1036,10 @@ def do_debug(self, args: list[str]) -> int:
10351036 """Implementation of 'coverage debug'."""
10361037
10371038 if not args :
1038- show_help ("What information would you like: config, data, sys, premain, pybehave?" )
1039+ show_help (
1040+ "What information would you like: "
1041+ + "config, data, sys, premain, pybehave, sqlite?"
1042+ )
10391043 return ERR
10401044 if args [1 :]:
10411045 show_help ("Only one topic at a time, please" )
@@ -1057,6 +1061,8 @@ def do_debug(self, args: list[str]) -> int:
10571061 print (short_stack (full = True ))
10581062 elif args [0 ] == "pybehave" :
10591063 write_formatted_info (print , "pybehave" , env .debug_info ())
1064+ elif args [0 ] == "sqlite" :
1065+ write_formatted_info (print , "sqlite" , CoverageData .sys_info ())
10601066 else :
10611067 show_help (f"Don't know what you mean by { args [0 ]!r} " )
10621068 return ERR
0 commit comments