Click to search on your search term.
Subscribe to Fig Leaf Tutorials

Need help with a project? Contact us at
From code reviews to project "jumpstarts" and full life-cycle development, we've got you covered!
Check out our case studies!
Follow us on Twitter!
Click here to join our Facebook group!

Ready to upgrade your skills? Try these instructor-led classes in Washington, DC:

Programatically Setting Breakpoints

Page of 168

You can set programmatic breakpoints by inserting the following command into your JavaScript:


When Google Chrome encounters this command, execution of your app will pause and your script will appear in the Sources section of Chrome's developer tools as depicted in the figure below:

Triggering the Debugger


Stepping Through Your Code

As depicted in illustration at right, you can use the debugger controls to interactively step through your code. You can also set Watch Expressions in order to view how your code changes the contents of your variables.

Page of 168
comments powered by Disqus