Capgemini interview question

How to debug plugin and duplicate detection in CRM?