Revert "Remove debug puts"

This reverts commit daffbb8924305da19121f17b3bdc8aa300382810.