Is there a good way to debug RPC on
Is there a good way to debug RPC on localhost? i only see connected, or not connected. no support in debugging or where the issue can be. funny enough: same code works on our remote environment - but not localhost.
7 Replies
Are you talking about having a multi-worker setup with RPC service bindings between the two?
And you want to locally develop them both and step through debug them?
Have you tried running both Workers in one instance of Wrangler by using multiple
-c args? E.g.
yeah then it somehow does not take the hyperdrive connections correctly for the secondary worker

its not mapping hyperdrive, but somehow only with a weird key the connection string
we dont need the debugging feature - just the rpc to work.
Ah - that might be because Wrangler only passes those Hyperdrive env vars through to the primary worker.
Perhaps could you create an issue in workers-sdk as we could probably fix that
okay - will do.
GitHub
Hyperdrive does not work localhost when running 2 workers in the sa...
What versions & operating system are you using? wrangler v4.16, windows Please provide a link to a minimal reproduction No response Describe the Bug When using 2 wrangler in localhost mode: aka...