How to enable debugging with Walmart/electrode node.js app that uses gulp tasks
I'd like to enable debugging with a node.js app using Walmart's electrode framework. I can simply set the debug configuration to watch server/index.js but is that the right way considering all the gulp tasks that need to run with compiling and other magic. I tried creating a gulp configuration using both gulp dev and dev-static but that doesn't seem to trigger the breakpoints.
Please sign in to leave a comment.
what are you trying to debug - your server-side code (server/index.js), your Gulp tasks, or your client-side code? Do you start your server via Gulp task? If yes, what does it look like?
For reference purposes
Same question on SO -- http://stackoverflow.com/questions/41017207/how-to-debug-a-node-js-app-with-gulp-tasks-in-webstorm