debug in device