VSCode is a popular editor for Node.js development and contains a number of debugging features that can be used to quickly find and resolve bugs.
- [Instructor] There are a number of tools … is because they have an amazing built-in debugger. … Let me show you how to use it. … So within the exercise files for Chapter Six Lesson Six, … within the Start folder we already have an HTTP Server. … And I already have the code for the server here … in the server running in the terminal. … It's a very simple server. … All it does is it takes your route … like users/user/test/db/config … and it displays it using an HTML list. … So we're going to use the debugger with this code. … Sometimes the best way to learn new code … is to use the step through debugger. … In Visual Studio Code, I can put a breakpoint … So I could put a breakpoint on line one … and then let's say we could put another breakpoint … so what's happening now is we are actually running our file. … So we're running it in Node. … In the first line of this file is required HTTP … and that's where we inserted our breakpoint … If I come and check the file out, … if you hit Refresh on your server, …
- Making HTTP requests
- Building web and file servers
- Installing packages with npm
- Managing and linking global packages
- Working with Express, the web server framework
- Handling POST and DELETE requests
- Creating WebSockets
- Testing and debugging Node.js code
Skill Level Advanced
Node.js: Real-Time Web with Socket.IOwith Emmanuel Henri1h 24m Intermediate
Work with VSCode1m 59s
1. The HTTP Module
3. Web Servers
5. Node.js Testing
6. Automation and Deployment
- 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.