Just wonder if there's a way to start/debug server.js from a src folder with babel-node or use generated source maps? I guess it's not since it imports css files and needs webpack to bundle it all together ...
In other words, how to tell Webstorm to connect generated server.js.map to a src/server.js, and put breakpoints there...
It's a pain to debug generated server.js from a build folder ...
OK, it automatically works in Webstorm 1017.1 EAP. Not sure if the mappings could be done in early versions.
Can you perhaps share how you got it to work in 2017.1 EAP?
When trying to run /src/server.js directly, I get:
ERROR: only one instance of babel-polyfill is allowed