Skip to content

Commit

Permalink
docs: add note to solve debugging build process on windows (#20046)
Browse files Browse the repository at this point in the history
  • Loading branch information
manutdkid77 authored and wardpeet committed Dec 16, 2019
1 parent 06bc5ef commit dd155d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/debugging-the-build-process.md
Expand Up @@ -70,7 +70,7 @@ If you use VS Code and its integrated terminal, you can configure it to automati
1. Press `Ctrl + ,` or `⌘ + ,` to open your preferences. Type `node debug` into the search bar. Make sure the `Auto Attach` option is set to `on`.
![Search for on debug and set attach to enable](./images/set-node-attach-to-on.png)

2. Using VS Code's integrated terminal run `node --nolazy --inspect-brk node_modules/.bin/gatsby develop` instead of `gatsby develop`
2. Using VS Code's integrated terminal run `node --nolazy --inspect-brk node_modules/gatsby/dist/bin/gatsby develop` instead of `gatsby develop`

3. Set breakpoints and debug!

Expand Down

0 comments on commit dd155d5

Please sign in to comment.