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

Setting up debugger in vs code #60

Open
lavaxun opened this issue Nov 6, 2019 · 2 comments
Open

Setting up debugger in vs code #60

lavaxun opened this issue Nov 6, 2019 · 2 comments

Comments

@lavaxun
Copy link

lavaxun commented Nov 6, 2019

Any documentation or guide for setting up debugger in visual studio code?

@gomesalexandre
Copy link

gomesalexandre commented Nov 9, 2019

You'll need to either launch the graphpack CLI with node debug enabled from your app, or it could be added as a flag to the CLI, so you could have a debug script in your package.json such as:

{
  "dev:inspect": "graphpack --debug"
}

You'll then have to attach your VSC debugger to the running Node.js process

This will be a quick win, I'll create a PR soon, hopefully @glennreyes sees benefit in it!

@glennreyes
Copy link
Owner

Yeah, I think that'd would work for me. A PR would be awesome @gomesalexandre! 🙌

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