This set of Visual Studio 2010 -> 2022 Debugger Visualizers provide a source-code view of Expressions as an alternative to Visual Studio's Debug View.
Here's a simple example:
...and a more complex one:
Once installed, visualizers are accessed via the magnifying glass in an Expression variable's debugger popup.
The visualizer has both light and dark themes:
...and output can be customised in various ways:
Please note that prior to Visual Studio 2019, custom debugger visualizers only work on the full .NET framework - not .NET Core.