Allow for debugging

This commit is contained in:
Christian Wolf 2025-01-16 15:40:33 +01:00
parent 9148e1f469
commit 5577cea351

View File

@ -0,0 +1,10 @@
_listening = False
def debugger():
global _listening
if not _listening:
import debugpy
debugpy.listen(5678)
debugpy.wait_for_client()
_listening = True