Delivering code in production with debug features activated is security-sensitive. It has led in the past to the following vulnerabilities:
An application's debug features enable developers to find bugs more easily and thus facilitate also the work of attackers. It often gives access to detailed information on both the system running the application and users.
There is a risk if you answered yes to any of those questions.
Do not enable debug features on production servers.
if (unexpectedCondition)
{
Alert.show("Unexpected Condition"); // Sensitive
}
The trace() function outputs debug statements, which can be read by anyone with a debug version of the Flash player:
var val:Number = doCalculation();
trace("Calculation result: " + val); // Sensitive