liveBook · Manning

Browser developer tools

As explained in Vanilla Web

Browser developer tools are utilities for inspecting, debugging, testing, and profiling web pages and applications.

Browser developer tools can serve as both an editor and a debugging surface. In a web project without build tools, a DevTools Workspace can edit source in the browser and keep the code-test-debug cycle together. section 2.5

For storage bugs, inspect the data the browser actually holds rather than guessing what the app wrote. Browser inspectors can also show the real DOM and state directly. section 12.4.8 section 1.6

Inspect these storage areas in DevTools while developing:

Figure 2.11 In Chromium’s DevTools, you can define your Workspace in Sources to edit your source code directly from the browser, eliminating the need for an IDE or code editor.
ch02 F011 firtman

See how a Chromium DevTools Workspace can connect browser-based editing with the source files. section 2.5

Figure 12.3 All browsers let you debug your app’s storage. In Chromium-based browsers, it’s in DevTools in the Application tab. You will find a summary of your storage usage in Application > Storage, followed by separate sections for each API under the storage title in the left navigation bar.
ch12 F003 firtman

See the Application tab’s storage summary and its separate sections for storage APIs. section 12.4.8

How Vanilla Web covers it

How deep it goes
Shows source editing and names storage areas to inspect, but leaves freshness, migration, backup, and recovery strategy to application design.
Examples
Uses Chromium DevTools Workspaces to edit source and the Application tab to inspect storage usage and API data.
What you can do after
Operate browser tools to edit source in a workspace and diagnose stored data by inspecting browser storage areas.
How it connects
Connects DevTools Workspaces with local development and storage debugging with localStorage, IndexedDB, Cache Storage, and service workers.

Also explained in

Compare how 5 books explain browser developer tools →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Vanilla Web. The section links point to the parts of the book it draws on.