vscode-docs-archive / docs /nodejs /debugging-recipes.md
AbdulElahGwaith's picture
Upload folder using huggingface_hub
ebffcb3 verified
metadata
Order: 9
Area: nodejs
TOCTitle: Debugging Recipes
ContentId: 215832f9-d5bd-4cea-8cea-bfc4dc7ff7d1
PageTitle: Node.js Debugging Recipes for Visual Studio Code
DateApproved: 3/7/2019
MetaDescription: >-
  Learn more about how to setup debugging in Visual Studio Code with debugging
  recipes
MetaSocialImage: debugging_Debugging.png

Node.js Debugging Recipes

Visual Studio Code supports debugging of many languages and platforms via debuggers that are either built-in or contributed by extensions.

To make it easier to get started with debugging, we have made a collection of debugging "recipes" which contain the steps and configuration you need to set up debugging for your favorite platform. The recipes are in GitHub at https://github.com/Microsoft/vscode-recipes.

Debug server-side JavaScript in Node.js

The Visual Studio Code editor supports debugging Node.js applications via the built-in Node.js debugger.

Node.js logo

Recipes:

Debug client-side JavaScript in Google Chrome

The Visual Studio Code editor supports debugging of JavaScript running in Google Chrome applications via the Debugger for Chrome extension.

JavaScript and Chrome logo

You can read more about how our Debugger for Chrome works in this introduction blog post.

Recipes:

Blog posts:

Debug Node.js in Docker containers

This recipe shows how to run and debug a VS Code Node.js project written in TypeScript running inside a Docker container.

Node.js TypeScript and Docker logos

Recipes:

MERN - Mongo, Express, React and Node.js

This recipe shows how to run and debug a MERN (Mongo, Express, React and Node.js) based project in VS Code.

MERN logos

Recipes:

Electron - Debug Electron applications

The Visual Studio Code editor supports debugging Electron applications via the built-in Node.js debugger and the Debugger for Chrome extension.

electron logo

Recipes:

Next steps