JavaScript Asynchronous Programming with JavaScript Asynchronous JavaScript with Callbacks Stepping Through Async Code

Bec Asmar
Bec Asmar
3,083 Points

How do you step through your code without stepping through any chrome extention JS?

When I step through my javascript code to debug, it steps through all the js files that are connected to other chrome extentions I have. Is there anyway to just have the browser run through one js file?

2 Answers

Robert Manolis
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Robert Manolis
Treehouse Guest Teacher

Hi Bec Asmar, there are ways to "blackbox" files so they can be ignored while debugging. Here's a Chrome doc that talks about that. Hope that helps. :thumbsup:

Bec Asmar
Bec Asmar
3,083 Points

Thanks Robert!