Skip to content
Snippets Groups Projects
Commit 0abdad3e authored by Simon McVittie's avatar Simon McVittie
Browse files

launch-options: Set DEBUG_INVOCATION=1 if extra debug is requested

systemd sets this variable for units with `RestartMode=debug`
if a previous attempt at starting the unit failed, and projects
like GLib and pressure-vessel are starting to use it as a
general-purpose opt-in to extra debug information. I suggested in
https://github.com/libsdl-org/SDL/issues/12275

 that SDL could maybe do
the same.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent f0bfdc3d
No related branches found
No related tags found
1 merge request!786launch-options: More options for SDL
Pipeline #116981 passed
......@@ -1870,8 +1870,9 @@ class Gui:
environ['STEAM_COMPAT_RUNTIME_SDL3'] = value
if self.debug_check.get_active():
environ['STEAM_LINUX_RUNTIME_VERBOSE'] = '1'
environ['DEBUG_INVOCATION'] = '1'
environ['G_MESSAGES_DEBUG'] = 'all'
environ['STEAM_LINUX_RUNTIME_VERBOSE'] = '1'
shell = self.shell_combo.get_active_id()
terminal = self.terminal_combo.get_active_id()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment