Added debug statements to can example