Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 943 Bytes

debugging-the-docs-application.md

File metadata and controls

13 lines (9 loc) · 943 Bytes

Debugging the docs application

This repo has configuration for debugging the codebase with VS Code's built-in Node Debugger.

Note: These steps will only help with debugging issues in the Node.js codebase, not in the content files.

  1. After running the build steps, start the app by running npm run debug.
  2. In VS Code, click on the Debugging icon in the Activity Bar to bring up the Debug view.
  3. In the Debug View, select the 'Node: Nodemon' configuration, then press F5 or click the green play button. You should see all of your running node processes.
  4. Select the node process that's started with the --inspect flag.
  5. Debugger has now been attached. Enjoy!

For more detailed instructions, please see this VS Code recipe. You can also learn more about debugging using VS Code here.