def METHOD_NAME(self):
    if Config.configured:
        log.METHOD_NAME("udebug can be configured only once")
        return
    if not Config.configured:
        Config.configured = True
        debugpy.log_to(Config.logto)
        # in vs code debuger select attach, port = 5678
        # commands in shell:
        #   py:debug
        # elsewhere in python code:
        #   import debugpy
        #   debugpy.breakpoint()
        debugpy.listen((Config.host, Config.port))
    debugpy.wait_for_client()
    # debugpy.breakpoint()