Re-use emergency_debug() in the recording code.