How to debug Next.js core? #13272
-
I'm working on a pull request that changes the Next.js core. I'd like to be able to inspect the value of different variables at runtime. A I've noticed that the root of the project does contain a I've read the contributing guide and the debugging guide ( that is meant for bugs inside my Next.js app, not the core? ), but the contributing guide doesn't say anything about debugging the core. Any help with this would be appreciated. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Have you tried https://github.com/zeit/next.js/blob/9fb2432b14ed85889b892e5ba024fb07a204faf7/package.json#L36 I haven't tried this myself, but seems like a good starting point. |
Beta Was this translation helpful? Give feedback.
Have you tried
yarn debug
from within the root directory?https://github.com/zeit/next.js/blob/9fb2432b14ed85889b892e5ba024fb07a204faf7/package.json#L36
I haven't tried this myself, but seems like a good starting point.