Node.js Debugging Recipes

    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.

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

    Recipes:

    Debug client-side JavaScript in Google Chrome

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

    JavaScript and Chrome logo

    Recipes:

    Blog posts:

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

    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:

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

    Recipes:

    Next steps

    • Debugging - Read about general VS Code debugging features.
    • - Learn about the built-in Node.js debugger.