Finish debugging toggle feature.