← Back to context

Comment by anonymousDan

3 years ago

As someone who has only dabbled with serverless (Azure functions), the difficulty in setting up a local dev environment was something I found really off-putting. There is no way I am hooking up my credit card to test something that is still in development. It just seems crazy to me. Glad to hear Cloudflare workers provides a better experience. Does it provide any support for mocking commonly used services?

Yes, you can run your entire serverless infrastructure locally with a single command and close to 0 config.

It's far superior to other cloud offerings in that respect.

You can even run it live in dev mode and remote debug the code. Check out miniflare/Wrangler v2

Just wish they would have ability for persistent objects. Everything is still request driven, yet I want to schedule things on subminute schedules. You can do it today, but it requires hacks