PureCode Software interview question

How do you handle bugs in your code or debugging?