From the course: JavaScript: Service Workers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Debug with other browsers

Debug with other browsers - JavaScript Tutorial

From the course: JavaScript: Service Workers

Start my 1-month free trial

Debug with other browsers

- [Instructor] I'm here in Safari, for the Mac, running the same localhost:5000 project that we have seen before. We can see that here the Service Worker is registered properly and when we open the tools here, we don't have an applications tab like in Chrome. To debug Service Worker within Safari, we need to go to the develop menu, and search for the Service Worker sub-menu and there we are going to see our current domain. If there are iframes inside this website, we might see more than one Service Worker. If I open this, we are going to receive an external window that is currently connected with the Service Worker only. Here we have the network tab, we have the debugger, we can have breakpoints, resources, that is currently using, timelines for performance analysis, and the console. Everything is here inside the Web Inspector for Service Workers. We don't have a system like we saw before in Chrome, to reload the Service Worker, unregister the Service Worker, or even see what's going…

Contents