Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to run gatsby develop with --inspect-brk? #2866

Closed
nwshane opened this issue Nov 9, 2017 · 2 comments
Closed

[Question] How to run gatsby develop with --inspect-brk? #2866

nwshane opened this issue Nov 9, 2017 · 2 comments

Comments

@nwshane
Copy link
Contributor

nwshane commented Nov 9, 2017

I'd like to run the gatsby develop command and be able to debug the generation of pages with node's debugger. For example, be able to put the debugger command in a blog post template to debug passing of data as blog post pages are generated.

Is there a way I can run the gatsby develop command with --inspect-brk? i.e. node --inspect-brk [insert-script-called-by-gatsby-develop-here]

@KyleAMathews
Copy link
Contributor

You can run the actual command at node_modules/gatsby/dist/commands/develop.js.

@Chuloo
Copy link
Contributor

Chuloo commented Aug 29, 2018

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues as many of them have already been resolved with the latest updates or explained in a previous issue.

Feel free to open a new one if you still experience this problem or a similar one! 👍

@Chuloo Chuloo closed this as completed Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants