Browser DevTools, part 3: breakpoints, storage and phone view
Pause the page code at a line, read what the browser stored, and see the page as a phone would.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a film pause, a filing cabinet and a small screen. You pause one frame to study it. You open a drawer to see what was filed earlier. You watch the film on a phone-sized screen.
Tom uses three different tools on the fictional Daily List app. A breakpoint pauses JavaScript at a selected point. holds state such as a localStorage key. approximates a mobile viewport on the desktop.
A paused value, a changed stored preference and a cut-off button are separate observations. He varies one condition at a time and records which state and viewport he used.
The picture has a limit. A paused renderer is not the entire stopped; deleting one stored key is not a complete first visit; and a simulated phone view is not a real handset.
(SYNTHETIC / TRAINING ONLY: Daily List and every named person are invented.)
PLAIN WORDS · 2 in this section
- breakpoint
- the load at which software starts to give way
- viewport
- the part of the screen where the page is shown
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Investigate paused code, selected-origin storage and simulated viewport behavior under controlled conditions.
- Pause
- Check
- Shrink
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Pausing on one frame | A breakpoint |
| The filing cabinet | Browser storage |
| A small screen | Device mode |
| The film | The page |
WHERE THIS PICTURE STOPS
- A breakpoint pauses selected JavaScript execution, not the entire distributed system.
- Deleting a selected key does not reset all browser state; Device mode is a desktop approximation.
HOOK
Pause, file, small screen.
TELL A FRIEND
An editor: pause, cabinet, small screen.
OFTEN MIXED UP WITH Browser DevTools, part 2: the Network panel, request by request. That topic reads the requests a page makes. This one pauses code, reads storage and checks phone sizes.
Sources & standards — 3 sources
- Market practice
Pause your code with breakpoints — Chrome DevTools ↗ — Google (Chrome for Developers) · Overview of breakpoint types; Line-of-code breakpoints (selected primary passages read 7 November 2026; live Chrome documentation with no fixed edition).
Selected primary passages actually read on the access date; not every linked guide. Browser interfaces and defaults can change. Daily List rules, people and observations are synthetic teaching examples, not publisher application facts or an executed live-app test.
- Market practice
View and edit local storage — Chrome DevTools ↗ — Google (Chrome for Developers) · View, edit and delete localStorage keys; selected domains and Console context (selected primary passages read 7 November 2026; live Chrome documentation with no fixed edition).
Selected primary passages actually read on the access date; not every linked guide. Browser interfaces and defaults can change. Daily List rules, people and observations are synthetic teaching examples, not publisher application facts or an executed live-app test.
- Market practice
Simulate mobile devices with Device mode — Chrome DevTools ↗ — Google (Chrome for Developers) · Limitations; Open the device toolbar; Simulate a mobile viewport (selected primary passages read 7 November 2026; live Chrome documentation with no fixed edition).
Selected primary passages actually read on the access date; not every linked guide. Browser interfaces and defaults can change. Daily List rules, people and observations are synthetic teaching examples, not publisher application facts or an executed live-app test.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Market practice
Pause your code with breakpoints — Chrome DevTools ↗ — Google (Chrome for Developers) · Overview of breakpoint types; Line-of-code breakpoints (selected primary passages read 7 November 2026; live Chrome documentation with no fixed edition).
Selected primary passages actually read on the access date; not every linked guide. Browser interfaces and defaults can change. Daily List rules, people and observations are synthetic teaching examples, not publisher application facts or an executed live-app test.
- Market practice
View and edit local storage — Chrome DevTools ↗ — Google (Chrome for Developers) · View, edit and delete localStorage keys; selected domains and Console context (selected primary passages read 7 November 2026; live Chrome documentation with no fixed edition).
Selected primary passages actually read on the access date; not every linked guide. Browser interfaces and defaults can change. Daily List rules, people and observations are synthetic teaching examples, not publisher application facts or an executed live-app test.
- Market practice
Simulate mobile devices with Device mode — Chrome DevTools ↗ — Google (Chrome for Developers) · Limitations; Open the device toolbar; Simulate a mobile viewport (selected primary passages read 7 November 2026; live Chrome documentation with no fixed edition).
Selected primary passages actually read on the access date; not every linked guide. Browser interfaces and defaults can change. Daily List rules, people and observations are synthetic teaching examples, not publisher application facts or an executed live-app test.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.