Running Service Binding Worker Locally With Pages App

I know this is a Pages "feature"... but Pages still uses Workers. And I got no response over on the Pages channel... surprised by that.

I am trying to get my service binding to run locally so I can interact locally with my app.

According to the docs...

--service=<BINDING_NAME>=<WORKER_NAME>

This is the flag to access a running Worker in dev mode. However, the wrangler in the CLI says service is an unknown argument.

Further the docs say to run the Worker project with...

wrangler pages dev --local

This would not work for me. However, wrangler dev --local at least got my Worker running and I could talk to it directly... but never through the Worker I have in my Pages application.

Are there known issues not stated in the docs about service bindings?
Was this page helpful?