Debug Mode

How does it work?

This criterion lets you match based on whether the request is being debugged using the Enhanced Debug behavior.

Fields

In the Debug Mode field, you specify whether you want to match on requests that are being debugged using the enhanced debugging feature, or the requests that are not.

Note that this is separate from whether the Enhanced Debug behavior exists in the property. Request that are being debugged pass a valid auth token in the Akamai-Debug request header. Requests that don't include the Akamai-Debug request header or where that header doesn't include a valid, unexpired auth token won't match.

Why you need it

Use this match to control when to return or strip certain response headers from your origin, such as Via and Server. For example, you may want to strip these headers in all cases except when the request is being debugged.

If you're using Global Traffic Manager to optimize routing to the origin server, you can apply the Debug Mode match condition to only return origin information in the response header if the request is being debugged.