Added debug_switch sample.