Touch device debug