change debug start/stop method