crunch
crunch
CDCloudflare Developers
Created by crunch on 7/23/2023 in #workers-help
Debugging 500 Internal Server Errors when using unstable_dev
Hi, I'm trying the unstable_dev API (https://developers.cloudflare.com/workers/wrangler/api/#unstable_dev) in my tests. However, if a fetch() attempt fails with a 500 Internal Server error, the test doesn't report any details that can identify the cause. Is there a supported way to inspect the logs of the worker when using unstable_dev?
1 replies
CDCloudflare Developers
Created by crunch on 7/10/2023 in #pages-help
How do I use the wrangler cli to write to a local KV instance?
I gathered that local workers cannot access any KV resources remotely. However, I have a lot of KV items that I publish to prod using wrangler kv:bulk. Is it possible to use the same wrangler kv:bulk command to write to the local KV storage? Alternatively, can I use the API? What would be the hostname?
2 replies