Add debugging code.

Signed-off-by: Mike Stitt <mikes@spindance.com>
Merge pull request #3 from spindance/bug/4195

Add debugging code.