call(back)

How Would You Debug a Blank Page?

How would you debug a blank page?

Answer out loud in under a minute: a definition, one concrete example, and one pitfall or trade-off.

Hints

Hint 1

Give an order: which tool do you open first, and what does each step rule out?

Solution

Show the approach

Answer

Console first, for a thrown error. Then the network tab: did the HTML, the bundle and the API calls return 200 with the right content type? Then the DOM: is the root element empty, or is content present but hidden by CSS? Then bisect recent deploys.

Asked at