JavaScript can also be debugged with Node.js
- Open Terminal/CMD
- Run
npm install -g node-inspector
- In CMD/Terminal, navigate to the folder of the file to debug
- Run
node-debug FILE_TO_DEBUG
- A browser opens with the code, and it can be debugged
JavaScript can also be debugged with Node.js
npm install -g node-inspector
node-debug FILE_TO_DEBUG