fifa-autobuyer icon indicating copy to clipboard operation
fifa-autobuyer copied to clipboard

node.js debugging problems...

Open marlonespindola opened this issue 7 years ago • 7 comments

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 avatar Apr 12 '17 01:04 marlonespindola

@hunterjm can you give me some advice?

marlonespindola avatar Apr 13 '17 01:04 marlonespindola

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

https://developer.chrome.com/devtools

hunterjm avatar Apr 13 '17 01:04 hunterjm

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 avatar Apr 13 '17 12:04 marlonespindola

@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 avatar Apr 14 '17 13:04 marlonespindola

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

debug2

any help?

marlonespindola avatar Apr 14 '17 23:04 marlonespindola

For now I am using the statement debugger;

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

marlonespindola avatar Apr 15 '17 17:04 marlonespindola

@marlonespindola

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

Thanks for your help :)

Trishift avatar Jun 02 '17 02:06 Trishift