Debugging isn't something that is typically taught, it is just picked up over your career. If you are a lucky you learn from others how to diagnosis and solve very hard problems.
Debugging is a valuable, worthwhile skill in its own right. Being very good at it will raise your overall productivity.
Being able to spot problems and know tricky common mistakes will make you a better engineer. Build better systems by learning to debug.