Check debug before logging