Skip to content

Commit ef832f8

Browse files
committed
document --local
1 parent c9ae241 commit ef832f8

File tree

1 file changed

+1
-0
lines changed
  • src/content/docs/workers/development-testing

1 file changed

+1
-0
lines changed

src/content/docs/workers/development-testing/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ During local development, your Worker code interacts with these bindings using t
6666

6767
- By default, bindings connect to **local resource simulations** (except for [AI bindings](/workers-ai/configuration/bindings/), as AI models always run remotely).
6868
- You can override this default behavior and **connect to the remote resource**, on a per-binding basis. This lets you connect to real, production resources while still running your Worker code locally.
69+
- When using `wrangler dev`, you can temporarily disable all remote resources (and connect only to local resources) by providing the `--local` flag (i.e. `wrangler dev --local`)
6970

7071
## Remote bindings
7172

0 commit comments

Comments
 (0)