Provide a debuginfod server by default for SDK
Currently when I encounter a crash or need to debug something that involves e.g. GTK/GLib, I need to download the whole 5GB org.gnome.Sdk.Debug runtime (or freedesktop one), which takes ages and is not efficient at all because on updates it would be updated with the rest of apps and runtimes, and that would download again huge quantity of data because the build-id would be invalidated for libraries that changed even slightly. So each time I need to debug something, I install this 5GB debug runtime, debug what I need, then I have to remove the debug runtime because of this problem. I can't just "mask" the debug symbols sdk (flatpak mask
) because it is useful to keep the main Sdk up-to-date but the debug symbols's build-id wouldn't match so they wouldn't be usable by gdb (though I don't know well how this all works, so maybe I'm wrong there).
Also, having everyone who needs to debug a program needing to download the 5GBs debug symbols is likely putting more load than necessary on the GNOME servers. If there was a debuginfod server available and setup by default, it would make debugging much more easy and faster, while lessening the bandwidth needs of the GNOME servers, and avoiding requiring people to have a high-speed connection so that debug symbols are (barely) usable.
So overall I think a debuginfod server would be a super useful addition which would improve the day-to-day debugging workflow.