Remove unneeded code from debugging, most likely