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 and help you build better systems.
Learn how to become a better problem-solver.