Table of Contents

Setting Up Source Debugging in VS

First, make sure source debugging external dependencies is enabled:

Stride builds the PDB files right into the normal .nupkg files. When debugging a public release, SourceLink should cause Visual Studio to download source files right from github when stepping into them.

Because of the way Visual Studio tracks down source files while stepping, one can't Goto-Definition for types in dependencies in VS Community. The workaround is to first step into the dependency to get the source loaded. Alternatively, one can pay for .NET Reflector, VSPro, or Resharper, which fix this in Visual Studio.

One day it might be nice to support .snupkg or .source.nupkg files, so the base packages could be smaller. However, it's not a big deal.