Revert "remove debugging"

This reverts commit c53da608b679a57cf7a4904040a2412a9b30f345.