Howto debug a React app with WebStorm with breakpoints.
I recently had the problem that I was not able to debug a small React application in WebStorm. So here is what I did in order to get it working.
I created two debug configurations. The first is the NPM start. It runs NPM and starts the application.
Once this is done, the first configuration needs to be run. This will start the server and run the node application.
Now I was able to debug and hit the breakpoints.