filmov
tv
Learning to use JavaScript debugger to explore JS code like a pro

Показать описание
In this video, we explore using the #javascript #debugger statement and #breakpoints within #devtools to figure out what underlying code is doing.
This can be an effective tool when you are unsure what is happening or are just curious to see how the dots connect in JavaScript.
By using the debugger statement and breakpoints, you are able to pause the execution of JavaScript code to see what is happening at each step.
Leveraging the Step Over functionality, we allow JavaScript to execute a line of code without bringing us into the definition of that function.
When using the Step Into functionality, we follow the JavaScript execution all along the way.
This creates a powerful technique to give us insight into what is going on, so we can make an informed decision on how we want to approach whatever problem we're facing.
I use this technique often, and it helps me gain clarity and insight for the obstacles I'm looking to tackle.
FAQ:
This can be an effective tool when you are unsure what is happening or are just curious to see how the dots connect in JavaScript.
By using the debugger statement and breakpoints, you are able to pause the execution of JavaScript code to see what is happening at each step.
Leveraging the Step Over functionality, we allow JavaScript to execute a line of code without bringing us into the definition of that function.
When using the Step Into functionality, we follow the JavaScript execution all along the way.
This creates a powerful technique to give us insight into what is going on, so we can make an informed decision on how we want to approach whatever problem we're facing.
I use this technique often, and it helps me gain clarity and insight for the obstacles I'm looking to tackle.
FAQ: