How do you eliminate bugs in debugging?

Throughout the debugging process, you run the code step-by-step to find which part or which line is responsible for producing the bug.