How do I debug EdgeWorkers?

We offer various tools to help you debug EdgeWorkers problems such as enhanced debug headers, Akamai Sandbox integration, and JavaScript Logging.

Can I validate my EdgeWorkers code bundle before uploading it? If a bundle is uploaded as bad syntax or doesn’t compile, will upload itself fail?

Yes, there is a validation service built into the EdgeWorkers code bundle upload process (via UI, API, or CLI). The validation service will attempt to ensure you are uploading valid JavaScript that is expected to run successfully. It will not check for logical or run time errors.