Ask 100 developers how they debug, and 90 will say "add print statements." Print debugging is valid, but it is the slowest method. Professional debugging requires a proper Debugger Tool.
Identification: Recognizing that the software is producing an incorrect result or crashing. Ask 100 developers how they debug, and 90
Never assume a piece of code works just because it looks right. Ask 100 developers how they debug