Netvirta interview question

(Paraphrased) How will you go about debugging something if you encounter a bug?