September 2018
Intermediate to advanced
328 pages
9h 10m
English
You can set breakpoints and interact with worker threads using the browser's development tools. In Google Chrome, open Developer Tools and select the Sources tab. The file list panel should contain two instances of worker.js. The debugger panel contains a Threads section with the main thread and two worker.js threads. The following screenshot indicates the thread debugging elements within the Chrome Developer Tools panel for the running application:

In Firefox, worker debugging is done in separate Developer Tools windows. To see this in action, open Developer ...
Read now
Unlock full access