# 1. disable any possible re-launch
GIO_USE_VFS=local             # stop gvfs daemonising
GSETTINGS_BACKEND=memory        # don’t spawn dconf-service

# 2. ask glib to abort on the first warning so nothing can “eat” it
G_DEBUG=fatal-warnings        # or =fatal-criticals

# 3. turn on *all* debug domains
G_MESSAGES_DEBUG=all

# 4. run inside gdb so we can see the exact line that fails
gdb -ex run --args python3 src/gui/DamarisGUI.py
