import debugpy, threading class Thread(QThread): def __init__(self): pass def run(self): debugpy.debug_this_thread() threading.current_thread().name = "RegistryMonitorThread"