Xcel Energy interview question

How do you debug an error in some code?