Debugging on DevTools (server-side) not working
Unanswered
Pixiebob posted this in #help-forum
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
When I run
I'm able to access the DevTools window via 'chrome://inspect' in Chrome, however none of my application files are accessible (except for one
Anyone have a clue as to what could be wrong? Thanks
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
I figured it out. This comment helped:
https://github.com/vercel/next.js/issues/47561#issuecomment-1488464285
https://github.com/vercel/next.js/issues/47561#issuecomment-1488464285