Skip to content

--local flag should override remote:true to use local bindings #10635

@zalmanlew

Description

@zalmanlew

Describe the solution

I keep two scripts in my package.json to easily switch between running locally (default) or using remote bindings for specific debugging.

"dev": "wrangler dev -e=dev --local",
"dev:remote": "wrangler dev -e=dev"

In the newest release (4.36.0), adding --local does not override remote: true to use local bindings.

Originally posted by @zalmanlew in #10604 (comment) and #10604 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions