rm dbg + exit code