Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
Often JavaScript exceptions (errors) will accompany bugs. Learning to break on errors can save you a lot of time.
Chrome Update
Since the recording of this video, the 'Pause on Exception' button, as shown, has been removed. The same feature can now be found under the 'Breakpoints' dropdown. Here, you will find two checkboxes to pause on either caught or uncaught exceptions.
Function Scope
- Variable Scope video from Treehouse's JavaScript Basics course
- Understanding Closures in JavaScript is a more advanced Treehouse workshop that digs deeper into scope, if you're interested.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up