[PATCH 2/3] server: Fix debug event order in generate_startup_debug_events.