pulsewidth debugging