Reputation: 13182
The case like this :
My code in the console like that. So I found it hard to make a breakpoint
How can I solve this problem?
Upvotes: 0
Views: 379
Reputation: 2823
just use debugger; in your javascript code, then open browser debugger console and trigger the code, so automatically debug pointer will point at your exact position of code.
for more details read
Upvotes: 1