You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add setting to configure Prisma Studio port (e.g. prisma.studio.port) #1972
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