verekia / js-stack-from-scratch

🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.
MIT License
20.05k stars 1.99k forks source link

Webstorm Debugging #216

Closed tulsileathers closed 6 years ago

tulsileathers commented 7 years ago

Question

Chapter: Any

Has anyone got any info about setting the final project setup for debugging in Webstorm? I'd like to have a real debugger on occasion. Any help would be greatly appreciated.

NoahLE commented 7 years ago

For debugging the React / Redux components I use React Developer Tools and Redux Developer Tools in Chrome / Firefox. For debugging the Node / Express side of things in Webstorm, you can set up a Run/Debug Configuration by using the Node interpreter, -r babel-register for the Node parameters, and src/server/index.js for the JavaScript file. I hope this helps!

verekia commented 6 years ago

Hey there. I'm closing this, as I don't intend to support editors. There is a lot coming up in V3 already: https://github.com/verekia/js-stack-from-scratch/issues/255

I will talk about Prettier plugins for editors in the Prettier section.