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_confirmation=1 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 πͺNew to Managed hosting? See the benefits when compared to shared hosting or DIY VPS hosting solutions: https://kinsta.com/blog/managed-wordpress-hosting/ π€Follow us: ► https://kinsta.com/blog/ ► https://kinsta.com/newsletter/ ► https://twitter.com/kinsta ► https://instagram.com/kinstahosting ► https://facebook.com/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/items?itemName=ms-vscode-remote.remote-containers π Connect to apps running on a remote server ► https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh π Connect to apps running on the Windows Subsystem for Linux (WSL) ► https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl π How to Debug Node.js Code Using Multiple Tools ► https://kinsta.com/blog/node-debug/ #nodejs
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_confirmation=1 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 πͺNew to Managed hosting? See the benefits when compared to shared hosting or DIY VPS hosting solutions: https://kinsta.com/blog/managed-wordpress-hosting/ π€Follow us: ► https://kinsta.com/blog/ ► https://kinsta.com/newsletter/ ► https://twitter.com/kinsta ► https://instagram.com/kinstahosting ► https://facebook.com/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/items?itemName=ms-vscode-remote.remote-containers π Connect to apps running on a remote server ► https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh π Connect to apps running on the Windows Subsystem for Linux (WSL) ► https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl π How to Debug Node.js Code Using Multiple Tools ► https://kinsta.com/blog/node-debug/ #nodejs