Add debugging code.

Signed-off-by: Mike Stitt <mikes@spindance.com>