Add debugging documentation