Gatsby: [Question] How to run gatsby develop with --inspect-brk?

Created on 9 Nov 2017  路  2Comments  路  Source: gatsbyjs/gatsby

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]

Most helpful comment

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

All 2 comments

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

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! 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KyleAMathews picture KyleAMathews  路  3Comments

rossPatton picture rossPatton  路  3Comments

jimfilippou picture jimfilippou  路  3Comments

benstr picture benstr  路  3Comments

mikestopcontinues picture mikestopcontinues  路  3Comments