Development Setup

December 5, 2025 ยท View on GitHub

Quick Start

# Install all dependencies (uses pnpm workspaces)
pnpm install

# Build TypeScript
pnpm build

# Watch mode for development
pnpm watch

Available Commands

CommandDescription
pnpm installInstall all dependencies
pnpm buildBuild all packages
pnpm watchWatch mode for development
pnpm testRun unit tests in all packages (via Turborepo)
pnpm test:e2eRun VS Code E2E tests
pnpm lintLint all packages
pnpm typecheckType-check all packages with TypeScript
pnpm formatFormat code with Prettier
pnpm cleanRemove untracked files and directories (incl node_modules)

Commands are orchestrated by Turborepo. See turbo.json for task dependencies.

Build System

The VS Code extension uses esbuild for bundling. See Build System for details on:

  • What gets bundled vs. copied as static assets
  • pnpm symlink resolution
  • Build output structure

Running the Extension Locally

  1. Open VS Code in this repository
  2. Press F5 or go to Run and Debug โ†’ Launch VS Code extension
  3. A new VS Code window opens with the extension loaded
  4. Open any .prisma file to test

Debugging the Language Server

  1. Start the extension (above)
  2. In the debug panel, also run Attach to Server
  3. Set "prisma.trace.server": "verbose" in VS Code settings for detailed logs