GE Interview Question

How would you go about debugging a piece of code?