-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Description
Existing documentation URL(s)
https://developers.cloudflare.com/durable-objects/observability/troubleshooting/
What changes are you suggesting?
In https://developers.cloudflare.com/durable-objects/observability/troubleshooting/ , there's a section saying
wrangler dev and wrangler tail are both available to help you debug your Durable Objects.
The wrangler dev command opens a tunnel from your local development environment to Cloudflare's global network, letting you test your Durable Objects code in the Workers environment as you write it.
It's fair to say that 'wrangler tail' connects to the deployed worker in order to retrieve logs, but to my knowledge 'wrangler dev' is entirely local ( see https://developers.cloudflare.com/workers/wrangler/commands/#dev )
Additional information
Combining wrangler with tunnels is a great idea, e.g. making a locally running worker (using wrangler dev) accessible from the internet ( https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/ )