-
Notifications
You must be signed in to change notification settings - Fork 28.3k
Debugging next.js apps #260
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I'm not sure if this is helpful, but I have been building a rather larger project with NEXT and have had no issues with using this https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en for debugging. You can access everything including components, props, state, etc. Good luck! |
@arrowplum like @erictherobot says, the React Dev Tools should work out of the box. What other tools were you looking to integrate? |
What about |
I think this would require source maps being emitted by webpack, thus depend on PR #222. IMO source maps should be a default for |
@rauchg Yep, the React Dev Tools work fine for me, but I'd like to use native JavaScript |
I could use render () {
debugger
return <div>hi</div>
} |
@nkzawa I can't open any of my modules in Chrome devtools ( |
Can this be addressed with a source maps change in webpack? I myself would be very happy to have this. |
Source map has been supported now. |
With the way javascript is loaded, it looks like you can't use a debugger on your own code. At least not the developer tools debugger.
I haven't seen any other mention of this issue so is there something I am missing, or is next.js not intended for larger projects?
The text was updated successfully, but these errors were encountered: