Debugging React App

Hello,

I've created a simple React App with WebStorm 2017.2.4, configure Chrome extension which is working properly with Angular debugging...but I'm unable to debug React App after performing npm start.

There's no web pack.config.js anywhere.....

Is there something I am missing from this blog : https://blog.jetbrains.com/webstorm/2017/01/debugging-react-apps/

Any help would be appreciated.

David

0
1 comment

Did you use File | New | Project... | React App to create the app? What create-react-app version do you use? Can you record a screencast that shows up the issue?

>There's no web pack.config.js anywhere.....

it is not available in the project created with create-react-app. You can run npm run eject (https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-eject) to create the configs. But this is a one-way operation, please avoid doing this unless you know how to set up the configs to make everything work

 

0

Please sign in to leave a comment.