Proper way to remote debugging in NextJS #45936
Replies: 6 comments 9 replies
-
I tried this https://nextjs.org/docs/advanced-features/debugging and I could only see a few files, doing |
Beta Was this translation helpful? Give feedback.
-
I'm having the same problem. I can't inspect a Next.js app running on a Docker container using Compose |
Beta Was this translation helpful? Give feedback.
-
Any update on this? |
Beta Was this translation helpful? Give feedback.
-
Same problem. Will add when using the
|
Beta Was this translation helpful? Give feedback.
-
Same problem. Is there a solution for this? |
Beta Was this translation helpful? Give feedback.
-
anyone got a better workaround it? @taiweituan @davidchingmy did you got some solution around it ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Like any other node app, we can enable remote debugging using
NODE_OPTIONS='--inspect=0.0.0.0:9229' next dev
. I have setup this together with docker compose config:Confirm that debugger is running:

Open inspector browser at chrome://inspect:

No file like _index.tsx or _app.tsx found in Sources tab. Do anyone able to do this?
Beta Was this translation helpful? Give feedback.
All reactions