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