Node Debugging

To make use of devtools debugging, you can start node tasks with the debugging flag. This allows you to open devtools in Chrome and use the tools there for better inspection of objects, breakpoints, etc.

export NODE_OPTIONS="--inspect"; npm run dev

You can also do this automatically in some IDEs and code editors: