Files
Plugin_SN_Verfahrensgebiet/__init__.py
Michael Otto e2d732e564 First commit
2025-10-09 11:35:08 +02:00

32 lines
883 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- coding: utf-8 -*-
# import debugpy
# _debugger_started = False
def classFactory(iface):
from .main import Verfahrensgebiet
# start_debugger()
return Verfahrensgebiet(iface)
# def start_debugger():
# global _debugger_started
# if _debugger_started:
# return # Schon gestartet nichts tun
# try:
# debugpy.listen(5678)
# _debugger_started = True
# print("Debugger wartet auf Verbindung...")
# except RuntimeError:
# print("Debugger läuft bereits Verbindung wird erwartet...")
# if debugpy.is_client_connected():
# print("Debugger verbunden Plugin läuft")
# else:
# try:
# debugpy.wait_for_client()
# print("Debugger verbunden Plugin läuft")
# except RuntimeError as e:
# print(f"Fehler beim Warten auf Debugger: {e}")