A simple NodeJS App debugging example in VS Code using Nodemon.
Note: Feel free to customize .vscode/launch.json and ./nodemon.json files.
yarn add nodemon --devAdd debug to your package.json script section:
+ "debug": "nodemon --debug server.js",Run Nodemon:
yarn debugFinally, select the attach configuration before in your VS Code and go to Debug > Start debugging F5
⚡️ Enjoy!
@winuxue It's already supported via nodemon too.
Checks the following link:
microsoft/vscode#10560
Bonus:
https://github.com/Microsoft/vscode-recipes/
👍