Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>PanoptikonNew to Visual Studio Code? Get it now.
Panoptikon

Panoptikon

Daniel Lucario

| (0) | Free
Watch expressions side bar for .NET debugging: key/value pairs refreshed on every debugger stop.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Panoptikon

A VS Code extension for .NET debugging. Panoptikon lists your watched expressions as key/value pairs in a side bar and refreshes them on every debugger stop, like Visual Studio's Watch window.

Requirements and design decisions: docs/SRS.md in the source repository.

Features

  • Its own side bar: by default Panoptikon opens in the secondary side bar (right), so the C# extension's views stay on the left. Drag the view anywhere to move it.
  • Two rows per watch: expression | type on top, the value below. Long or multi-line values are truncated with … and get an Open Value in Editor button: the full, unescaped value opens in a read-only tab that follows every stop. Change its language mode (SQL/N1QL, XML, JSON, …) and Panoptikon remembers it for that expression.
  • Objects and collections open as JSON, built from the debugger's member tree without running code in your app: lists become arrays, dictionaries objects keyed by their keys. Public members only, 3 levels deep and 100 items per collection; deeper objects show their summary.
  • Automatic refresh whenever the debugger stops (breakpoint, step, exception, pause). Selecting another stack frame re-evaluates in that frame.
  • Change highlighting: values that changed since the previous stop are colored (panoptikon.changedValueForeground). While the program runs, the last values stay visible but dimmed.
  • Expandable objects and collections, with changed members highlighted too.
  • One list per launch configuration: running Api and Worker together shows one group per session, each evaluated in its own session.
  • Errors stay in their row: an invalid expression doesn't affect the others.
  • Copy Value copies the full value, not the truncated one.
  • Several ways to add expressions: the + button, Add to Panoptikon in the editor or the native Variables view context menu, Watch This Member on an expanded member, or Import Expressions from Watch View.
  • Export/import of expression lists as JSON.

Requirements

  • VS Code 1.106 or later.
  • The C# extension (installed automatically as a dependency).

Settings

Setting Default Description
panoptikon.showType true Show the type of each value.
panoptikon.highlightChanges true Highlight values that changed since the previous stop.
panoptikon.evaluationTimeoutMs 2000 Maximum time per evaluation (0 = no limit).
panoptikon.syncNativeWatches import off, import (on demand) or mirror (automatic) for expressions from VS Code's Watch view.
panoptikon.debugTypes ["coreclr"] Debug session types to evaluate in; * for all.

Known limitations

  • VS Code has no API to read its Watch view. Panoptikon only sees those expressions while the Watch view is visible, and never sees them being removed.
  • Values are only read while the debugger is paused. Panoptikon does not track changes while the program runs.
  • Expressions are evaluated like the native Watch view, so expressions with side effects (list.Add(x)) run on every stop.

Development

npm install
npm run check      # typecheck + lint + unit tests
npm run build      # bundle to dist/
npm run package    # build panoptikon-<version>.vsix
npm run test:e2e   # debug samples/SampleApp with the real C# debugger (set VSCODE_PATH to use your VS Code)

Press F5 (Run Extension (sample app)) to open an Extension Development Host on samples/SampleApp, a .NET console app made for trying the extension.

Branching

  • main: stable.
  • feature/<name>: one branch per feature, merged into main when done.
  • docs/<name>: documentation-only changes.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft