Enabling source code debugging for your NuGet packages with GitLink

For a solution managed with Git, run GitLink after your build step and add your pdbs into your nuget package: these simple steps enable users of your nuget packages to debug with sources and step into with only settings ‘Enable source server support’ in Visual Studio.

Every .Net open source project should use it!

Sources: Enabling source code debugging for your NuGet packages with GitLink and GitTools/GitLink: Making .NET open source accessible!