fix: raised the recursion limit in debug to 500

This commit is contained in:
2024-04-16 13:23:20 +02:00
parent eec252cb16
commit 9addcf1862
8 changed files with 59 additions and 5 deletions

View File

@@ -52,6 +52,12 @@ def trace(msg: str):
output("trace: " + msg, BColors.OKBLUE)
def object_trace(obj):
if not DEBUG_TRACE:
return
output("object: " + str(obj), BColors.GREY)
"""
misc functions

View File

@@ -15,6 +15,7 @@ __stage__ = os.getenv("STAGE", "prod")
DEBUG = (__stage__ == "dev") and True
DEBUG_LOGGING = DEBUG and False
DEBUG_TRACE = DEBUG and True
DEBUG_OBJECT_TRACE = DEBUG and False
DEBUG_YOUTUBE_INITIALIZING = DEBUG and False
DEBUG_PAGES = DEBUG and False
DEBUG_DUMP = DEBUG and True