Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions contributing/debugging-the-docs-application.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
### Debugging the docs application
# Debugging the docs application

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


```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`.
1. In VS Code, click on the Debugging icon in the Activity Bar to bring up the Debug view.
1. In VS Code, click on the Debugging icon in the 6Activity Bar to bring up the Debug view.
1. In the Debug View, select the **'Node: Nodemon'** configuration, then press <kbd>F5</kbd> or click the green play button. You should see all of your running node processes.
1. Select the node process that's started with the `--inspect` flag.
1. Debugger has now been attached. Enjoy!

For more detailed instructions, please see this [VS Code recipe](https://github.com/Microsoft/vscode-recipes/tree/main/nodemon). You can also learn more about debugging using VS Code [here](https://code.visualstudio.com/docs/editor/debugging).
For more detailed instructions, please see this [VS Code recipe](https://github.com/Microsoft/vscode-recipes/tree/main/nodemon
// 0). You can also learn more about debugging using VS Code [here](https://code.visualstudio.com/docs/editor/debugging).
Loading