Breakpoints in JS
Instead of going to the specific js file and add a breakpoint with your JS console on your browser, just add this to your code and you're done:
debugger;
Written by Raúl Barroso
Related protips
3 Responses
empty?
over 1 year ago
·
@zigotica Fixed! It wasn't empty before they changed their markdown interpreter. Thanks!
over 1 year ago
·
cool. woooooow, that's it?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Debug
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#