Added debug output for strict mode failures