What debugging means
Debugging means noticing a problem in code, figuring out what caused it, and making a fix. It is part of normal coding work.
It does not mean you failed. It means you are working with real code and learning how to improve it.
Debugging is part of coding, not a separate failure state.