debug qc