Build Settings or Project descriptor file in Unity

I was wondering is there a descriptor file in Unity like for example Java/Maven project has?

Yes the build settings contains all necessary parts to set up your project but how can I access toggles like “Script Debugging”?

Or how can I get that this is a “development build” but not a production build?

Are these settings available in the API and where?

The answer would be UnityEditor.BuildOptions and Debug.isDebugBuild.