Local support: During local development, your Worker code runs locally. Bindings use local resources by default where they support them. You can use local bindings in wrangler dev and the Cloudflare Vite plugin.
Remote binding connections: Allows you to connect to remote resources on a per-binding basis. This is supported in wrangler dev and the Cloudflare Vite plugin.
| Binding | Local support | Remote binding connections |
|---|---|---|
| AI | ❌ | ✅ |
| Assets | ✅ | ❌ |
| Analytics Engine | ✅ | ✅ |
| Browser Run | ✅ 1 | ✅ |
| D1 | ✅ | ✅ |
| Durable Objects | ✅ | ❌ 2 |
| Containers | ✅ | ❌ |
| Email Bindings | ✅ 3 | ✅ |
| Flagship | ✅ | ✅ |
| Hyperdrive | ✅ 4 | ✅ |
| Images | ✅ 5 | ✅ |
| KV | ✅ | ✅ |
| Media Transformations | ❌ | ✅ |
| mTLS | ❌ | ✅ |
| Queues | ✅ | ❌ 6 |
| R2 | ✅ | ✅ |
| Rate Limiting | ✅ | ❌ |
| Service Bindings (multiple Workers) | ✅ | ✅ |
| Vectorize | ❌ | ✅ |
| Workflows | ✅ | ❌ 2 |
For automated tests that need to run offline without Cloudflare credentials, refer to Offline and local binding support.
During remote development, all of your Worker code is uploaded and executed on Cloudflare's infrastructure, and bindings always connect to remote resources. We recommend using local development with remote binding connections instead for faster iteration and debugging.
Supported only in wrangler dev --remote - there is no Vite plugin equivalent.
| Binding | Remote development |
|---|---|
| AI | ✅ |
| Assets | ✅ |
| Analytics Engine | ✅ |
| Browser Run | ✅ |
| D1 | ✅ |
| Durable Objects | ✅ |
| Containers | ❌ |
| Email Bindings | ✅ |
| Flagship | ✅ |
| Hyperdrive | ✅ |
| Images | ✅ |
| KV | ✅ |
| Media Transformations | ✅ |
| mTLS | ✅ |
| Queues | ❌ |
| R2 | ✅ |
| Rate Limiting | ✅ |
| Service Bindings (multiple Workers) | ✅ |
| Vectorize | ✅ |
| Workflows | ❌ |
-
Local development runs Puppeteer, Playwright, Chrome DevTools Protocol (CDP), and
.quickAction()calls against local Chrome with limited feature support. Wrangler downloads Chrome on first use if it is not already cached. Setremote: trueto use Cloudflare's managed Browser Run service. ↩ -
Refer to Using remote resources with Durable Objects and Workflows for recommended workarounds. ↩ ↩2
-
Local simulation logs outgoing emails and saves message content and attachments to local files without delivering them. Refer to Test email sending locally. ↩
-
Set
localConnectionStringto connect directly to a database without Hyperdrive. Setremote: trueto use your deployed configuration. Refer to Hyperdrive local development. ↩ -
Local simulation supports image metadata and a subset of transformations. Set
remote: truefor the full Images API. ↩ -
remote: truedoes not make Queue producer bindings send to deployed queues in local development. Messages stay in the local Queues environment. ↩