Add debugging stage