An apparatus and a method for cutting or ablating corneal tissue of an eye provide for detection of electromagnetic radiation exiting the eye. A detector is provided and coupled to a computer controlling the cutting or ablating laser radiation so that a two- or three-dimensional image of radiation exiting the eye can be generated.