PCM debugging techniques