Onset of breakdown and formation of cathode spots