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

Debugging an Example app #516

Open
joshglenn opened this issue Jul 15, 2016 · 1 comment
Open

Debugging an Example app #516

joshglenn opened this issue Jul 15, 2016 · 1 comment

Comments

@joshglenn
Copy link

So I have installed on my local test system the 00 example. It builds and runs just fine. However, I want to learn more about how rendr works. So I was wanting to step through the code in the debugger. (Note: I haven't debugged in node before, but I have in various other technologies)

So, I installed node-inspector, which lets me debug using chromes devtools. The problem is, I'm not sure where or how to attach the debugger. For instance, the node-inspector instructions say to issue a command like this node-debug app.js. When I start the example app, I do so by issuing grunt server. Thus the confusion.

Any ideas on what to issue as the command here in order to debug the rendr example?

@joshglenn
Copy link
Author

Ok. So I figured out how to do this. I realize too I probably should have posted this in the google group.

The solution to this was simple:

node-debug index.js

Works like a charm.

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

1 participant