add device debug