There is a bit of a trick to it in Unity in particular - in recent versions you need to enable debug mode (since it defaults to release), then attach VS to the engine. So at least for that case it comes off more as "how do I solve this specific problem" rather than "write me a debugging 101 course"