Debugging external libraries in Visual Studio

Have you encountered a case where you needed to debug an external library? Be it Newtonsoft.Json or AspNetCore MVC, sometimes things go wrong and you need to get to know package internals to find the issue. The same often applies...