To enable request-level debugging you need to include an Akamai Pragma header in the request.
A request that includes an Akamai Pragma header returns the related trace response headers. The Standard debug header provides details and the status type of the EdgeWorkers function executed during the request or response.
See Enable enhanced debug headers for instructions on how to return more detailed response headers that include a status message and the amount of wall time, CPU time, and memory usage consumed by the event handler. Enhanced debug headers can also provide information about HTTP sub-requests.
Watch this four minute video to learn how to get started debugging your EdgeWorkers code using standard debug headers.
You can add one or more of the following Akamai Pragma headers to your request:
|Akamai Pragma Header
|Returns debug information from
onOriginResponse event handlers
responseProvider event handler
|all event handlers when an HTTP sub-request is made
onClientRequest event handler
onOriginRequest event handler
onOriginResponse event handler
onClientResponse event handler
Updated about 1 year ago