Next.js Discord

Discord Forum

Debugging on DevTools (server-side) not working

Unanswered
Pixiebob posted this in #help-forum
Open in Discord
PixiebobOP
I'm following the guide on nextjs.org (https://nextjs.org/docs/pages/building-your-application/configuring/debugging#server-side-code).

I've added NODE_OPTIONS to the 'dev' script as instructed.

When I run pnpm run dev, the output looks like it starts two debuggers on different ports (9229, 9230) (see pic).

I'm able to access the DevTools window via 'chrome://inspect' in Chrome, however none of my application files are accessible (except for one next.config.js file). No console.logs or debugger statements are showing up or blocking execution.

Anyone have a clue as to what could be wrong? Thanks

1 Reply

PixiebobOP