Starting inspector on 127.0.0.1:5556 failed: address already in use
Unanswered
Cassin's Sparrow posted this in #help-forum
Cassin's SparrowOP
Hi I'm running NextJS on Windows and I'm trying to debug server side with Webstrom.
I tried:
package.json
.env.local
I tried the fixes in google...
https://github.com/vercel/next.js/issues/9027
https://github.com/vercel/next.js/issues/11030
But at the end using "npm run dev" it always fails starts debugging two times:
Any ideas how to fix it?
I tried:
package.json
"scripts": {
"dev": "cross-env NODE_OPTIONS='--inspect=5555' next dev",
}.env.local
NODE_OPTIONS=--inspect=5555I tried the fixes in google...
https://github.com/vercel/next.js/issues/9027
https://github.com/vercel/next.js/issues/11030
But at the end using "npm run dev" it always fails starts debugging two times:
> next dev
Debugger listening on ws://127.0.0.1:5556/a77d59a4-c28f-4164-9ab7-37fde8d8b86e
For help, see: https://nodejs.org/en/docs/inspector
the --inspect option was detected, the Next.js router server should be inspected at port 5556.
â–² Next.js 14.0.3
- Local: http://localhost:3000
- Environments: .env.local
Starting inspector on 127.0.0.1:5556 failed: address already in use
Starting inspector on 127.0.0.1:5556 failed: address already in useAny ideas how to fix it?