I learned debugging (with the VS IDE and .NET tools) on my first job. School never taught me anything about debugging. Certainly not how to use the tools, but more critically never taught me: how to use binary divide techniques to track down which change caused a bug, how to use deductive reasoning to narrow down what can’t be the problem, and even how to carefully read error messages to pinpoint the issue.
Schools teach theory, and sometimes they teach some versions of practical job skills. But it’s pretty hard for a for-profit educational institution to make good decisions regarding education when students are the product and for-profit businesses are the actual customers. You end up maximizing recruiters’ ideas of what makes a good worker and makes them marketable products, rather than what other working people have experienced as being important job skills. People say software devs need stronger unions but what we really need is to bring back guilds.
Come to my school. I have taught it here in the UK for 10+ years. Schools do teach it.
Because they want corporate slave factory workers, not critical thinkers.