I\'d like to debug node.js like rails. I\'ve tried several ways:
For configuration you need to have the Webstorm 2018.2 and follow the steps below:
and ALSO include the option to "Attach to Node.js/Chrome" [+] as follow:
To make the debugger restart after every change you would have to enable the [x] Reconnect Automatically option.
The flow of working with the debug is:
Note: If you are going direct to the debugger instead (and therefore not following this process) one would probably be expecting a termination of the process after changing the code lines.