https://github.com/tdd/birba-debug
A demo VS Code setup for debugging npm-invoked Nodemon-driven Node processes
https://github.com/tdd/birba-debug
debug debugging node nodejs nodemon npm vscode
Last synced: 8 months ago
JSON representation
A demo VS Code setup for debugging npm-invoked Nodemon-driven Node processes
- Host: GitHub
- URL: https://github.com/tdd/birba-debug
- Owner: tdd
- License: mit
- Created: 2019-07-24T13:21:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T04:29:32.000Z (over 3 years ago)
- Last Synced: 2025-02-13T15:15:56.272Z (over 1 year ago)
- Topics: debug, debugging, node, nodejs, nodemon, npm, vscode
- Language: JavaScript
- Size: 61.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Debugging npm-triggered Nodemon-run Node processes in VS Code
This is a minimal demo for it.
## Installation
1. Fork this if you want to
2. Clone it locally
3. `npm install`
## Trying it out
1. Open the root directory in your VS Code (e.g. `code .`)
2. Hit F5 to trigger the default Launch config, or select it manually from the Debugger’s configurations dropdown and click the Run button.
3. Set a breakpoint on line 4 of `server.js`
4. Navigate to the URL displayed in the program's terminal
5. **BAM!** Debugging.
You’re welcome.