3 ms·
What problems have you had?
by jgrahamc 5y ago
What problems have you had?
- pier25 5y ago- Incomprehensible errors. Like you have a undefined var and the worker just breaks and doesn't tell you what's happening. - Terrible console.log() messages. I had to resort to using JSON.stringify for anything other than primitive values. - Timeout errors when using wrangler dev on workers that work perfectly when deployed. - Wrangler dev just crashing frequently or being super slow at reloading the worker.
- threepointone 5y agoErrors - We're getting better at this. You can now use `--inspect` and use chrome devtools which should log proper exceptions (details to setup https://blog.cloudflare.com/profiling-your-workers-with-wrangler/ https://blog.cloudflare.com/profiling-your-workers-with-wran...) Console.logs - same as above! Real devtools, interactive and everything. Timeouts and crashes - This should be better now, timeouts and sessions expires now transparently heal and restart, so you shouldn't face errors (Please file an issue if you see different!) Overall we're working hard on making this experience better, please feel free to file issues if you see anything that's not expected. Thank you!