talira

SourceLink.Environment

NuGet package that passes Source Link support down to the packages built on it

open sourceMITfree

SourceLink.Environment is a NuGet package from the .NET Core Community that makes Source Link support inheritable: a package author references it and sets the project's GitHub address, and users of that package can then step into its source with F11 while debugging in Visual Studio, after turning on Source Link support and turning off Just My Code.

Problems it solves

  • let people using my NuGet package step into its source code while debugging
  • give every package in my .NET organisation Source Link without setting it up in each one
  • debug into a NuGet dependency's code in Visual Studio

Features

  • inheritable Source Link support for NuGet packages that reference it
  • lets package users step into the package's source while debugging in Visual Studio

Limitations

  • Its README is in Chinese only.1

Alternatives

The same job

These do what SourceLink.Environment does.

  1. Python Debugger Python debugging with debugpy for Visual Studio Code
  2. js-debug Microsoft's JavaScript debugger for Node.js and browsers, built into VS Code and available as a DAP server
  3. Debugger for Java Microsoft's Java debugger for VS Code
  4. CodeLLDB A VS Code debugger for native code, powered by LLDB

Compare SourceLink.Environment with the top 3