Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Chrome Dev Tools: Sources Tab
Play lesson

Computer Science and Software Engineering Theory with Briana - Chrome Dev Tools: Sources Tab

4.0 (0)
5 learners

What you'll learn

This course includes

  • 1.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Info and mini-lesson on the 'Sources' tab of Chrome Dev Tools. Check out more in-depth documentation here: https://developers.google.com/web/tools/javascript/breakpoints/ The 'Sources' tab is most useful for debugging JavaScript. The bigger your project is, the harder it can be to find exactly where a problem occurs. You can select different parts of the code to be 'breakpoints', checkpoints that will stop the code at that exact moment. There are different breakpoints you can watch for, like for a specific line of code, on a DOM event, a server request called XMLHTTP request, or a javascript event. When you set a breakpoint, the browser pauses everything when it interprets that line of code or event. By slowing everything down and giving yourself a chance to examine what's happening at every spot you've set, you can keep track of exactly what's happening in the page or app. Once all of the breakpoints are set, you can step through the code and examine the state of your page or app at every breakpoint. Just like with elements, you can live-edit through dev tools, but remember to save those changes however you can so your progress isn't lost. ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere