$ cat /var/log/thoughts

Debugging + JavaScript

Posts matching all selected tags.

Filters2

5 posts

Chrome inspect devices fails until USB debugging is on

chrome inspect devices stays empty until USB debugging is on. Tick Discover USB devices, plug a data cable, then click Inspect on the listed phone tab.

Build AlongDebuggingDeveloper ToolsWeb DevMobileJavaScriptWindows1 min read · Aug 25, 2026

Open Console Chrome with Ctrl Shift J not I

Open console chrome with Ctrl+Shift+J, not last panel. Land on a working prompt for this tab, skip Elements, and stop clicking the Console tab after F12.

Build AlongChromeDeveloper ToolsJavaScriptWeb DevDebuggingProductivity1 min read · Aug 25, 2026

React Dev Tools Firefox still hides the Components tab

Get react dev tools firefox showing Components and Profiler. Install the AMO add-on, open a React page, reload, then find the tabs in the Toolbox not Console.

Build AlongReactDeveloper ToolsDebuggingJavaScriptWeb DevOpen Source1 min read · Aug 25, 2026

This react rerender tool flashes the guilty component

A react rerender tool paints a purple outline on the guilty memoized child. Drop the script before React, click once, then leave that Profiler closed.

Build AlongReactJavaScriptDeveloper ToolsDebuggingPerformance1 min read · Aug 25, 2026

Stop Treating localStorage Like a Database (It Will Bite You in Production)

localStorage has a 5-10MB limit, throws QuotaExceededError silently, and vanishes in Safari private browsing. Here are the five ways it breaks in production and what to use instead.

Sharper ToolsJavaScriptWeb DevDebuggingPerformance1 min read · Apr 11, 2026