[PD] how to debug a PD patch