Develop against real production resources
local dev
// what it does
Runs the Worker on Cloudflare's edge with remote bindings, so KV/R2/D1/Hyperdrive hit actual production data instead of local simulations. Reach for it when a bug only reproduces against real data, or when a binding like Hyperdrive-to-Postgres has no local equivalent.
// shell
$ wrangler dev --remote// gotcha
--remote reads and writes your live production resources — a stray PUT or DELETE mutates prod. It also requires wrangler login and that the resources already exist.