debugging hero switch