Can’t Debug After Running

Quick post to explain why you might not be able to debug your C# Visual Studio code or debug your unit tests after running

Can’t Debug After Running

How quick is a quick post? Well:

🤔Did you forget to switch back to the debug config? 🤔

I've spent a non-zero amount of time wondering why I can't debug my code or unit tests after running and it's because I put the code into release configuration such that the benchmarking is more accurate.

You know, this:

🤷‍Sometimes I do just forget to go into debug after 🤷‍♂️

This post is kinda gonna be like equivalent of:

Or this...

It happens. Good luck to you, dear reader 👍