diff --git a/src/launch.c b/src/launch.c
index 9a27c4c99930b4386dc0242e85b2054b905bced0..54f2e5045def3f7155e93bc2db30ff2ceeaadb05 100644
--- a/src/launch.c
+++ b/src/launch.c
@@ -871,5 +871,6 @@ out:
   g_hash_table_unref (opt_env);
   g_hash_table_unref (opt_unsetenv);
 
+  g_debug ("Exiting with status %d", launch_exit_status);
   return launch_exit_status;
 }
diff --git a/src/launcher.c b/src/launcher.c
index 7e840e1936f850ffb3b5b0d2d2887ee90f49b6cc..7f9c5e64440ce0862293775fb4a831471079b1f2 100644
--- a/src/launcher.c
+++ b/src/launcher.c
@@ -1273,7 +1273,6 @@ main (int argc,
 
   main_loop = g_main_loop_new (NULL, FALSE);
   g_main_loop_run (main_loop);
-  g_debug ("Exiting");
 
 out:
   if (local_error != NULL)
@@ -1306,5 +1305,6 @@ out:
   g_clear_error (&local_error);
   g_clear_pointer (&original_stdout, fclose);
 
+  g_debug ("Exiting with status %d", ret);
   return ret;
 }
diff --git a/src/wrap.c b/src/wrap.c
index 89aa71c09f8476d0c294825215fca0e0818139ff..a8da29920e91f3c8d2d1a75adebe34123b97a275 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -1756,5 +1756,6 @@ out:
   g_clear_pointer (&opt_runtime_base, g_free);
   g_clear_pointer (&opt_runtime, g_free);
 
+  g_debug ("Exiting with status %d", ret);
   return ret;
 }