Bootcamp
Searchโฆ
Bootcamp
Welcome to Bootcamp!
๐
Logistics
๐
General Reference
๐
Projects
0: Language and Tooling
0.0: Module 0 Overview
0.1: New JS Syntax
0.2: ES6
0.3: Reading Documentation
0.4: JS Object as Tally
0.5: Advanced Git
0.6: Nodemon
0.7: Thunder Client
0.8: JS Promises
0.9: VSCode Node Debugger
0.10: Introduction to Classes
0.ICE: In-Class Exercises
1: Frontend Basics
๐
CSS
2: Backend Basics
3: Backend Applications
4: Backend Structure
5: Full-Stack Applications
6: Frontend Infrastructure
7: React
8: Advanced React
9: Advanced Topics
๐งฎ
Algorithms
๐ผ
Interview Prep
โบ
User Experience
Powered By
GitBook
0.9: VSCode Node Debugger
Setup
Project Code
Create a debug script in package.json so you can easily run nodemon with debugging enabled.
package.json
1
"scripts": {
2
"debug": "nodemon --inspect index.js"
3
}
Copied!
Further Reading:
โ
https://itnext.io/the-absolute-easiest-way-to-debug-node-js-with-vscode-2e02ef5b1bad
โ
โ
https://code.visualstudio.com/docs/nodejs/nodejs-debugging
โ
โ
https://github.com/microsoft/vscode-recipes/tree/master/nodemon
โ
Run
1.
Open the VSCode integrated terminal.
2.
Attach the debugger.
3.
Run your server.
4.
Open the debugger tools.
5.
Set a breakpoint.
Previous
0.8.3: Async/Await
Next
0.10: Introduction to Classes
Last modified
2mo ago
Copy link
Contents
Setup
Project Code
Run