def dump_debug_info(init_options, validators):
    """Debug utility to be removed later"""
    dump = __builtins__["print"]  # cheat the linter

    dump("\n----- INIT DEFAULTS -----")
    __import__("pprint").pprint(init_options)
    dump("\n----- VALIDATORS -----")
    for i, validator in enumerate(validators, 1):
        dump("#" * 80)
        dump(validator.names[0].upper())
        dump(i, validator)

        def print_all_validators(v, prefix):
            if v.items_validators:
                dump(" " * len(prefix) + v.names[0].upper())
                dump(" " * len(prefix) + ("-" * 80))
            for n, item_v in enumerate(v.items_validators, 1):
                dump(" " * len(prefix), f"{prefix}.{n}", item_v)
                print_all_validators(item_v, f"{prefix}.{n}")

        print_all_validators(validator, prefix=str(i))
Debug utility to be removed later
dynaconf/typed/utils.py