ASP.NET Core symbol server:
https://dotnet.myget.org/F/dotnet-core/symbols/

ASP.NET_Core__basic_series(4)_Debugging_1.png

1. Uncheck Enable Just my Code

ASP.NET_Core__basic_series(4)_Debugging_2.png

Check Microsoft Symbol Servers

ASP.NET_Core__basic_series(4)_Debugging_3.png

1. Set up the symbol server

ASP.NET_Core__basic_series(4)_Debugging_4.png

Check Source Link Support

ASP.NET_Core__basic_series(4)_Debugging_5.png

2. Specify the assembly to be debugged

ASP.NET_Core__basic_series(4)_Debugging_6.png

3. Set source debugging

ASP.NET_Core__basic_series(4)_Debugging_7.png

If you encounter an additional process that cannot debug a .Net Core project, be careful to modify the attached process to dotnet.exe :

ASP.NET_Core__basic_series(4)_Debugging_8.png


Debugging ASP.NET Core 2.0 Source Code

Orignal link:https://www.jianshu.com/p/74789c59e589