Learn how Node’s out-of-process debugging utility can control execution, watch expression and variable values, and more.
- [Instructor] Node.js includes a debugger…that's already built in.…What is it and what can it do?…Node's debugger is an out-of-process debugging utility,…which means it's external to program execution.…The debugger controls…and provides deep inspection of a Node.js process.…The debugger is accessible by a V8 inspector agent…which can be configured as part of Node's startup options.…There are a variety of clients for the inspector,…including Chrome's DevTools…and editors like VS Code.…
Node also includes…a command line interface debugging client.…We're gonna try all three of these in upcoming videos.…You may be wondering, what about Node Inspector?…It's a Node.js debugging interface,…but it was deprecated by the built-in debugger…since Node 6.3.…It was a great project,…but it's not necessary anymore.…So what's the debugger useful for?…The debugger can be used to watch expressions…and variable values during execution.…Breakpoints can be set within code…or by using the debugger to pause execution…and evaluate the watcher.…
- Building a troubleshooting mindset
- Why measure performance?
- What's a microservice architecture?
- Managing microservices with PM2
- Effective logging strategies
- Debugging Node.js applications
- Benchmarking performance
- Profiling code execution
- Knowing what to optimize
Skill Level Intermediate
1. Build a Troubleshooting Mindset
2. Introducing Microservices
3. Effective Logging Strategies
4. Debugging Node.js Applications
Debugging isn't just logging3m 51s
5. Measuring Performance
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.