Hello,
We are currently utilizing Capacitor 5 for our project, and we’ve come across a global variable named DEBUG. However, we couldn’t find any mention of it in the documentation. (If it’s there, we apologize for overlooking it.)
We’re wondering if Capacitor.DEBUG is a dependable method for detecting whether the app is a release or a development build. Additionally, we would like to know where this flag is set on Android and iOS.
From our testing, it seems to work as expected. However, we’d appreciate confirmation to ensure its reliability.
Thank you for your assistance.