forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move debugging docs to new file and clarify
- Loading branch information
Showing
2 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### 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`. | ||
1. In VS Code, click on the Debugging icon in the Activity 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/master/nodemon). You can also learn more about debugging using VS Code [here](https://code.visualstudio.com/docs/editor/debugging). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters