GTK buildtype=debug in gnome snaps

Consider:

3-38-2004: https://gitlab.gnome.org/Community/Ubuntu/gnome-sdk/-/blob/gnome-3-38-2004-sdk/snapcraft.yaml

or 3-34-1804: https://gitlab.gnome.org/Community/Ubuntu/gnome-sdk/-/blob/gnome-3-34-1804-sdk/snapcraft.yaml

For part gtk we see:

[...]
meson-parameters:
      - --prefix=/usr
      - --buildtype=debug
[...]

That’s quite practical for debugging, as one can invoke all the usual [gtk, gdk, ...]-debug cmd-line options for GTK programs. I’m just wondering if that’s optimal for runtime performance.

Upstream issue: https://gitlab.gnome.org/Community/Ubuntu/gnome-sdk/-/issues/4