How to configure debug and production apks ?


I am working in a project for which I have to configure some setup for different build config so that my debug app will have com.example.myapp.debug package name and production app will have com.example.myapp.

And also now I am building apk with turtle and my working command to build apk is

turtle build:android
–type apk
–keystore-path KEYSTORE_PATH
–keystore-alias “KEY_ALIAS”
–public-url YOUR_URL/android-index.json

So how to build different environment apks?