Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>KurrentDB ProjectionsNew to Visual Studio Code? Get it now.
KurrentDB Projections

KurrentDB Projections

Preview

Kurrent

| (0) | Free
KurrentDB projection toolkit
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
KurrentDB Projections

Projection debugger and CodeLens companion for KurrentDB. Run and debug projections from gaffer.toml, step through handlers with full state inspection, and get type-aware autocomplete for projection builtins.

Powered by the gaffer toolkit.

Features

Debug projections from gaffer.toml. CodeLens above each projection and fixture block. Click Debug to launch a session locally. Set breakpoints to pause for inspection, or let it run through.

Step through handlers. Set breakpoints in your projection JS. Step over, into, and out of handlers. Watch state evolve event by event in the dedicated panel.

Live state inspection. The KurrentDB Projections panel shows the current step, partitioned state, shared state (for biState projections), emitted events, and console output as the projection runs.

Type-aware autocomplete for projection builtins. A TypeScript server plugin injects fromStream, when, emit, linkTo, partitionBy, and the rest of the projection API into JavaScript files that share a workspace root with a registered projection. No imports needed.

MCP server auto-registration. The gaffer MCP server (scaffolding, validation, debugging tools, projection API resources) is auto-registered with VS Code's MCP framework. Available to GitHub Copilot, Claude, and any other MCP-aware tooling.

Quick start

  1. Install the extension.
  2. Open a folder and add projections via KurrentDB Projections: Scaffold (palette) or right-click a folder and pick Scaffold Projection Here. A fresh folder gets a gaffer.toml created for it automatically as part of the first scaffold; run KurrentDB Projections: Init from the palette if you'd rather create the toml without scaffolding.
  3. Click Debug above any projection in gaffer.toml, or run KurrentDB Projections: Debug from the command palette.

The extension spawns the @kurrent/gaffer CLI for LSP, MCP, and debug sessions. It will offer to install the CLI on first use if it isn't already on PATH. Requires @kurrent/gaffer 0.1.0 or later.

Configuration

Setting Default What it does
gaffer.command ["gaffer"] Argv used to invoke gaffer. User scope only; workspace settings are ignored as defense against hostile workspaces.
gaffer.debugPort -1 (auto) DAP server port (loopback only). -1 lets the OS pick a free port and the editor reads it back on connect.
gaffer.injectProjectionTypes true Inject projection-runtime types via the tsserver plugin. Disable to keep non-projection JS clean.

Commands

Command What it does
KurrentDB Projections: Init Create a gaffer.toml in the current folder
KurrentDB Projections: Scaffold Add a new projection to the project via a multi-step picker. Right-clicking a folder runs it scoped there
KurrentDB Projections: Debug Pick a projection from the workspace and launch a debug session
KurrentDB Projections: Debug from Fixture Codelens-triggered Debug session bound to a specific fixture in gaffer.toml
KurrentDB Projections: Stop Stop the running session

Telemetry

The extension collects anonymous usage telemetry by default and respects VS Code's telemetry.telemetryLevel setting. See TELEMETRY.md for the full list of what is collected and how to opt out.

Documentation

Full documentation at https://gaffer.kurrent.io/.

Bugs go to GitHub Issues. Questions and feature requests to Discussions.

License

Kurrent License v1

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft