How to Debug Node.js Code Using Multiple Tools

Veröffentlicht am: 24 August 2022
auf dem Kanal: Kinsta
2,219
32

It's inevitable: your Node.js code will fail at some point. 😅 See what tools you can use to debug applications and find the cause of a problem right here ✅
👉 Subscribe: https://www.youtube.com/c/Kinsta?sub_...

Node.js is a JavaScript runtime based on the same V8 engine used in Google’s Chrome browser. It is often used to build cross-platform server-side and terminal applications. Node.js has become increasingly popular over the past decade because it’s easy to install, practical to use, fast, and allows client-side web developers to leverage their skills elsewhere.

This tutorial demonstrates various tools to help debug applications and find the cause of a problem.

ℹ️ About Kinsta
Kinsta is a premium managed WordPress hosting company powered by Google Cloud Platform’s premium tier network and compute-optimized C2 virtual machines, enterprise-level security, a free CDN global edge network with 200+ PoPs, and 24/7/365 support.

👉Learn more about Kinsta’s hosting solutions: https://kinsta.com/wordpress-hosting/

⚙️Dig deeper in Kinsta’s tech stack and features: https://kinsta.com/features

👤Follow us:
► https://kinsta.com/blog/
► https://kinsta.com/newsletter/
►   / kinsta  
►   / kinstahosting  
►   / kinstahosting  

__________________________

🕘Timestamps

0:00 Intro
0:59 Set Appropriate Node.js Environment Variables
1:47 Use Node.js Command Line Options
2:07 Output Messages to the Console
2:54 Use a Third-Party Logging System
3:17 Use the V8 Inspector
3:57 Use the Chrome Browser to Debug Node.js Code
7:09 Conditional Breakpoints
7:44 Log Points
8:08 Use VS Code to Debug Node.js Applications
9:18 VS Code Advanced Debugging Configuration
10:37 Other Node.js Debugging Options

__________________________

📚 Resources

🧑🏻‍💻 VS Code extensions

👉 Connect to apps running in Docker ► containershttps://marketplace.visualstudio.com/...

👉 Connect to apps running on a remote server ► https://marketplace.visualstudio.com/...

👉 Connect to apps running on the Windows Subsystem for Linux (WSL) ► https://marketplace.visualstudio.com/...

🛠 How to Debug Node.js Code Using Multiple Tools
► https://kinsta.com/blog/node-debug/

#nodejs


Auf dieser Seite können Sie das Online-Video How to Debug Node.js Code Using Multiple Tools mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Kinsta 24 August 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,219 Mal angesehen und es wurde von 32 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!