remove API_DEBUG setting as it is redundant without custom error middleware