From dd155d5fef6e8abdc9a90cbf70656fd00070e229 Mon Sep 17 00:00:00 2001 From: Nathaniel Nunes Date: Mon, 16 Dec 2019 13:02:43 +0530 Subject: [PATCH] docs: add note to solve debugging build process on windows (#20046) --- docs/docs/debugging-the-build-process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/debugging-the-build-process.md b/docs/docs/debugging-the-build-process.md index 5cfcd767f3411..bc9d990e03e45 100644 --- a/docs/docs/debugging-the-build-process.md +++ b/docs/docs/debugging-the-build-process.md @@ -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!