Skip to content

Add setting to configure Prisma Studio port (e.g. prisma.studio.port) #1972

Description

@danywalls

Problem

When using "Launch Prisma Studio" from the VS Code/Cursor extension, Studio tries to bind to a fixed port (in my case 51214). If that port is already in use (e.g. by the IDE or another tool), the command fails with:

Launch Studio failed: Port '51214' is not available.

There is no way to change the port from the extension.

Proposed solution

Add a VS Code setting (e.g. prisma.studio.port) so users can choose an alternative port when the default is taken.

Example in settings.json:

{
"prisma.studio.port": 5555
}

Workaround

Running npx prisma studio --port 5555 in the terminal works, but it would be better to keep using the extension with a configurable port.

Environment
Extension: Prisma (official)
IDE: Cursor / VS Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions