Create a debug version of a deployed app

By default, the mobile app is built in release mode, which cannot be debugged. To build an app in debug mode, you must check the Mobile Debug Package environment set, which sets the DEBUG_PACKAGE environment variable to 1.

Before you begin, your app project must be open in Genero Studio.

  1. Select Tools > Genero Configurations.
  2. Select a Configuration Name.
    The current configuration is selected by default.
  3. Under Environment Sets, check the Mobile Debug Package environment set.
    Within this environment set, the DEBUG_PACKAGE environment variable is set to 1 (TRUE) to build a debug version of the package.
  4. Package the app. See Packaging for a mobile device.
    The package for the debug version of the app is created and ready to be deployed.
Note:

If you install the debug version of the app on an iOS device, you must then enable the debug port in the app settings. For further information, see the Genero Business Development Language User Guide.