IDEA -Instructions on how to configure debug configuration for ReactJS/Redux on NodeJS
I've found instructions for WebStorm, none for IDEA 2016.3.4
Things I've tried.
1. Set the start script in package.json to:
"node $NODE_DEBUG_OPTION ./node_modules/webpack-dev-server/bin/webpack-dev-server.js"
webpack.config.js has
devtool: 'eval-source-map'
presets: ['react', 'es2015', 'stage-0']
2. Brought up the npm scripts
3. Right click debug "start".
Configuration: node interpreter - node 6.9.1
webpack does it's thing. App comes up in browser. However, any breakpoints set aren't being intercepted.
Anyone have success debugging using IDEA?
Please sign in to leave a comment.
#eval-source-map
`devtool: 'source-map'` gives better results. And instructions for Idea are the same as for WebStorm