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

node.js debugging problems... #170

Open
marlonespindola opened this issue Apr 12, 2017 · 7 comments
Open

node.js debugging problems... #170

marlonespindola opened this issue Apr 12, 2017 · 7 comments

Comments

@marlonespindola
Copy link

since I am a noob in node.js, I dont know how to debug this project.
I've made everything that had to be done.
when I type "npm run dev" it opens the program whith a window on the right side...

If I wanted to debug the login, for instance, how do I do it?

some help please.
thanks

@marlonespindola
Copy link
Author

@hunterjm can you give me some advice?

@hunterjm
Copy link
Owner

It's all JavaScript and debuggable using the devtools window that pops up.

https://developer.chrome.com/devtools

@marlonespindola
Copy link
Author

Thanks @hunterjm . now I have managed to debug the project.

And congrats by this project.... Its very usefull for us who dont want to give more money to EA.

@marlonespindola
Copy link
Author

@hunterjm I am being able to debug the code. But there are some lines that I cant put a break point...
Anyone knows why is that?

@marlonespindola
Copy link
Author

@hunterjm here is what is happening
I click in the line 94 but he puts a break in 96.

debug2

any help?

@marlonespindola
Copy link
Author

For now I am using the statement
debugger;

but it is a paint in the ass. Wish I could debug normaly.

@Trishift
Copy link

Trishift commented Jun 2, 2017

@marlonespindola

I was wondering where you inserted the try...catch for the error on line 95?

Thanks for your help :)

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