How to toggle 5.2beta out of debug mode?

Are the Tools - > Debug submenu items supposed to be compatible with 5.2?

Running “Generate testcases for Persons and Families…” on the beta2 for Windows gives the following errors to the console.

Error Details: 
===================
27955599: ERROR: tool.py: line 298: Failed to start tool.
Traceback (most recent call last):
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gui\plug\tool.py", line 288, in gui_tool
    tool_class(
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\tool\testcasegenerator.py", line 331, in __init__
    self.init_gui(uistate)
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\tool\testcasegenerator.py", line 418, in init_gui
    self.run_tool(cli=False)
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\tool\testcasegenerator.py", line 466, in run_tool
    self.generate_family(person_h)
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\tool\testcasegenerator.py", line 1655, in generate_family
    with DbTxn(
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\db\txn.py", line 75, in __enter__
    self.db.transaction_begin(self)
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\dbapi.py", line 294, in transaction_begin
    self.dbapi.begin()
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\sqlite.py", line 158, in begin
    self.execute("BEGIN TRANSACTION;")
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\sqlite.py", line 136, in execute
    self.__cursor.execute(*args, **kwargs)
sqlite3.OperationalError: cannot start a transaction within a transaction
27981756: ERROR: tool.py: line 298: Failed to start tool.
Traceback (most recent call last):
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gui\plug\tool.py", line 288, in gui_tool
    tool_class(
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\tool\testcasegenerator.py", line 331, in __init__
    self.init_gui(uistate)
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\tool\testcasegenerator.py", line 418, in init_gui
    self.run_tool(cli=False)
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\tool\testcasegenerator.py", line 444, in run_tool
    self.generate_tags()
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\tool\testcasegenerator.py", line 1788, in generate_tags
    with DbTxn(
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\gen\db\txn.py", line 75, in __enter__
    self.db.transaction_begin(self)
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\dbapi.py", line 294, in transaction_begin
    self.dbapi.begin()
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\sqlite.py", line 158, in begin
    self.execute("BEGIN TRANSACTION;")
  File "C:\Program Files\GrampsAIO64-5.2.0\gramps\plugins\db\dbapi\sqlite.py", line 136, in execute
    self.__cursor.execute(*args, **kwargs)
sqlite3.OperationalError: cannot start a transaction within a transaction

System Information: 
===================
Gramps version: AIO64-5.2.0-r1-2ac9e80 
Python version: 3.11.4 (main, Aug 22 2023, 21:54:38)  [GCC 13.2.0 64 bit (AMD64)] 
BSDDB version: 6.2.9 (6, 0, 30) 
sqlite version: 3.42.0 (2.6.0) 
LANG: en_US.UTF-8
OS: Windows

GTK version    : 3.24.39
gobject version: 3.44.1
cairo version  : (1, 24, 0)

The Check Localized Date Displayer and Parser... tool also failed with looping error after the above error. Gramps had to be killed with the Task Manager. But it worked after Gramps was restarted.