Separating out debug options
Consolidating debug settings and API url
Consolidating debug settings and API url