Don't run panic_action if the process is being debugged