Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Developing Multi-Platform Apps with Visual Studio Code

You're reading from   Developing Multi-Platform Apps with Visual Studio Code Get up and running with VS Code by building multi-platform, cloud-native, and microservices-based apps

Arrow left icon
Product type Paperback
Published in Sep 2020
Publisher Packt
ISBN-13 9781838822934
Length 334 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Khusro Habib Khusro Habib
Author Profile Icon Khusro Habib
Khusro Habib
Ovais Mehboob Ahmed Khan Ovais Mehboob Ahmed Khan
Author Profile Icon Ovais Mehboob Ahmed Khan
Ovais Mehboob Ahmed Khan
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Introduction to Visual Studio Code
2. Chapter 1: Getting Started with Visual Studio Code FREE CHAPTER 3. Chapter 2: Extensions in Visual Studio Code 4. Section 2: Developing Microservices-Based Applications in Visual Studio Code
5. Chapter 3: Building a Multi-Platform Backend Using Visual Studio Code 6. Chapter 4: Building a Service in .NET Core and Exploring Dapr 7. Chapter 5: Building a Web-Based Frontend Application with Angular 8. Chapter 6: Debugging Techniques 9. Chapter 7: Deploying Applications on Azure 10. Chapter 8: Git and Azure DevOps 11. Section 3: Advanced Topics on Visual Studio Code
12. Chapter 9: Creating Custom Extensions in Visual Studio Code 13. Chapter 10: Remote Development in Visual Studio Code 14. Other Books You May Enjoy

Debugging the Node.js API

While debugging the Angular app, we have focused on exploring the debugging extension for Chrome and also explored several different debugging features provided by VS Code. Apart from the Angular frontend, the job order system is spread over multiple microservices developed in different languages. Let's discuss how we can debug these multiplatform backends, starting off with Node.js APIs.

VS Code provides out-of-the-box support for Node.js. It's possible to debug code written in JavaScript and TypeScript without the need to install third-party extensions.

Creating the launch configuration

To set up the launch configuration for the Node.js project, we will follow the same approach and create a launch configuration, like this:

  1. Open the Node.js project folder and press Ctrl + Shift + P to open the command palette. Type Open launch.json, as shown in the following screenshot, and press Enter to proceed:

    Figure 6.33 – Create a launch...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime