add a way for devs to mapexit on debug