puts_dbg can now take a block