From the course: Learning JavaScript Debugging
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Debugging with an IDE - JavaScript Tutorial
From the course: Learning JavaScript Debugging
Solution: Debugging with an IDE
(upbeat electronic music) - [Instructor] Let's take a look at a solution for this editor-based debugger challenge. We need to set up a debugging configuration in the editor and then fix that bug with the headers not changing color when we mouse over them. So while I'm here, I'm going to copy the URL of this page that we're debugging, and then over here in Visual Studio Code, I'm going to create a debugging configuration. That's going to be here in the run or debug panel, and I'll create my launch.json file against Chrome. I can leave everything just like it is except for the URL. I'm going to change that so we start in the right place. There we go, and incidentally, you don't have to debug in Chrome. There are other extensions if you search for debugger, there's one for Firefox, down here, you can see there's another one for Microsoft Edge. So we have some options. Chrome is probably the most popular one for this sort…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Debugging the use of a jQuery plugin6m 7s
-
(Locked)
Debugging a React application in Chrome9m 8s
-
(Locked)
Debugging on iOS using Simulator6m 45s
-
(Locked)
Remote debugging on an Android device3m 23s
-
(Locked)
Challenge: Other people's code7m 52s
-
(Locked)
Solution: Other people's code6m 27s
-
(Locked)
Debugging a Node.js application in WebStorm11m 34s
-
(Locked)
Setting up the WordPress example3m 47s
-
(Locked)
Challenge: Debugging with an IDE2m 5s
-
(Locked)
Solution: Debugging with an IDE4m 47s
-
(Locked)
Debug a WordPress theme in Visual Studio Code5m 51s
-
(Locked)
Use a debugger as a learning tool on a live site5m 51s
-
-