Step 0: Get User Preferences
Step 1: Ensure the Development Database is Running
Grep the
file for
. If no line starts with
, continue following this step.
If the user does have their own DATABASE_URL env var set, move on to
Step 2.
Check the
file in the project root for the
block to see which database is being used.
SQLite
Skip to Step 2: SQLite stores data in a local file, no database server needed.
PostgreSQL
Start the managed database container as a background task:
Docker needs to be installed and running for the managed Postgres database container (
) to work.
Run this as a background task in the current claude code session.
Wait 5-15 seconds for the database to be ready.
Step 2: Start Dev Server
Start the Wasp development server as a background task:
If this is the first time starting the app, or if there are pending migrations, run the following command:
bash
wasp db migrate-dev --name <migration-name>
Step 3: Verify Server is Running
Confirm client (
) and server (
) are running by checking the background task output.
If started as background task in current session: Listen to the output for development and debugging information.
If started externally: Instruct the user to check the output of the external terminal and share its output with you.
Step 4: Connect Browser Console Access (Important!)
This step is critical for effective development and debugging. Without browser console access, Claude cannot see client-side errors, warnings, or React issues that occur in the browser.
Ask the user (via the AskUserQuestion tool) which method they'd like to use for giving Claude visibility into the browser console:
| Option | Description |
|---|
| Chrome DevTools MCP (recommended) | Use the mcp__plugin_wasp_chrome-devtools
tool (bundled with the plugin) |
| Built-in Chrome | Use Claude Code's built-in browser connection (check status with command) |
| Manual | User will manually copy/paste console output when needed |
| Other | User has another preference |