flatfair interview question

How do you go about debugging?