System and method for detecting debris in a photolithography system