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!