× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

How to understand what blows your page

Petur Subev
Dec 23, 2014
<p>When you get a JS exception on your page and you have no idea what happened based on the error message.</p><p>1) Open the console with Chrome</p><p>2) Enable the automatic breakpoint</p><p>3) Refresh the page and wait to see the moment at which there was exception</p><p>4) Check the stack trace points until you reach something that you have written</p><p>5) Investigate why it throws such exception.</p>
comments powered by Disqus