enhanced_debug
Version: v2025-01-13 | Includes use: Yes |
---|
Behavior name: Enhanced Debug
This behavior provides support for enhanced debugging on edge servers. It includes all the functionality provided by the existing Pragma
header debugging, but is more secure and provides additional information. All requests that use this behavior pass an auth token that you generate using a secret debug key in the Akamai-Debug
request header.
Default behavior
These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.
data "akamai_property_rules_builder" "enhanced_debug" {
rules_v2025_02_18 {
name = "Enhanced Debug"
comments = "Supports enhanced debugging on edge servers."
behavior {
enhanced_debug {
enable_debug = false
}
}
}
}
"behaviors": [
{
"name": "enhancedDebug",
"options": {
"enableDebug": false
}
}
]
Options
Option | Description |
---|---|
enable_debug |
Enables enhanced debugging using the
Akamai-Debug request header.
|
debug_key |
Specifies the debug key to use for all requests processed by this property. The debug key value needs to be a 64-byte hex string. You can generate the key in one property and then reuse it in other configurations.
|
disable_pragma |
Whether you want to disable the standard debugging that uses the
Pragma request header.
|
generate_grn |
Whether you want to return the Global Request Number (GRN) in the
Akamai-GRN response header for all requests, even if the Akamai-Debug request header is not passed. The Akamai-GRN header is useful for log extraction.
|
Updated 39 minutes ago