Wrangler runs your Worker, Durable Objects included, on your machine:
npx wrangler devYour API is then on http://localhost:8787, and every route behaves as it does in production:
curl http://localhost:8787/users/my-userThings that differ locally
- Storage is local and separate from your deployed data.
- The admin panel accepts a whitelist of *, which is ignored in production.
- Anything that calls out to Cloudflare's API — the firewall, instance listing — needs real credentials in your environment to work.
The build regenerates wrangler.toml from app.toml and .env before it runs, so add new variables to .env rather than to the generated file.


