Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Rehearsal DBNew to Visual Studio Code? Get it now.
Rehearsal DB

Rehearsal DB

Preview

Rehearsal

|
6 installs
| (0) | Free
See whether database changes are ready for a safe local rehearsal without memorizing CLI commands.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Rehearsal logo

Rehearsal for VS Code

Test database changes before applying them.

VS Code Marketplace version

Released capabilities · Public roadmap · Get started · Detailed guide

Rehearsal helps you review migrations, test them against a disposable local database, and understand the result—all from VS Code. The dashboard shows your next step, project readiness and local resource status.

Available in free Starter

Your next step What you can do today
Understand your project Review detected settings, compatibility and readiness, then follow guided setup.
Review migrations Filter SQL, Prisma and Drizzle migrations, record review, inspect static warnings and open exact SQL inputs.
Rehearse changes Run a full rehearsal, apply approved migrations without a reset, verify databases or open a hands-on application session.
Keep useful evidence Browse baselines and privacy, Storage and data-shape evidence; compare summaries and export redacted reports.
Recover and cancel Follow persistent failure explanations, open unchanged attempted inputs and track or cancel editor-owned operations.
Manage resources Inspect ownership and available usage metrics, review protection settings and preview cleanup.
Use SQLite files Review SQLite readiness and baselines, then enable or pause the owned file without a VM.
Shut down the VM Review affected workloads, confirm supported VM shutdown, then return with Back to Rehearsal.
Configure and update Review exact configuration diffs, save display profiles and choose independent extension/Core update preferences.

The complete capability catalog records published versions and verified scope. The public roadmap separately identifies intended, queued and paused work. New database targets and container engines take priority over further ORM integrations.

Starter 0.1.29 pairs with Core 2.3.0 for SQLite file workflows. Check the catalog for published availability and the guide for the qualified runtime.

The extension uses your project's Rehearsal CLI. Inspection is read-only; database operations and destructive cleanup retain their review and confirmation steps. Static warnings help with review; they do not prove a migration is safe.

Get started

  1. Install Rehearsal DB from the VS Code Marketplace (publisher rehearsal-db, extension ID rehearsal-db.rehearsal-db).

  2. Open your application folder. If Rehearsal is not already installed, run this in its terminal:

    npm install --save-dev @rehearsal-db/core
    
  3. Open the Command Palette → Rehearsal: Open Dashboard.

  4. Follow Next best step to configure your project and baseline.

See Getting started for baseline setup, or the installation guide for distribution options. Older previews through 0.1.18 need a one-time extension migration.

Requirements and availability

Use desktop VS Code 1.101+ on macOS or Linux, with Node.js 22, 24 or 26 selected in your project terminal. Container-backed rehearsals also need a supported local container engine. Windows uses the WSL 2 compatibility preview, with the project and tools inside Linux; native Windows execution is unsupported.

Check the published release assets and Core compatibility guidance before upgrading. Source versions do not prove publication; GitHub and Marketplace availability can differ.

Introduced in 0.1.25, the prominent Shut down VM… control includes a workload review and confirmation, plus Back to Rehearsal. VM shutdown initially supports macOS Apple Silicon, Colima 0.10.3, VZ and the default profile with a compatible core. It stops the shared VM, including other projects' workloads, while preserving data volumes. Use Stop project services when you only want to stop this project's services.

Prisma and Drizzle review use pinned PostgreSQL SDKs and a compatible Core release. See the compatibility guide for exact versions and qualification limits. Published availability is recorded in the capability catalog.

Free Starter, optional updates

Starter's included features remain yours indefinitely at no charge for personal or commercial development. No account, card or trial is required. Core is MIT-licensed; future optional Pro features do not revoke existing Starter rights.

The extension includes no telemetry. Release checks require consent; automatic extension and compatible CLI updates have separate opt-ins, both off by default. No update forces an editor reload or runs a migration. Use Rehearsal: Check for Updates for current guidance. When installation needs review, follow its Extensions or Settings action, then return to Rehearsal.

Detailed guide · Privacy · License · Support · Contributing · Repository structure

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft