Create a debug version of a deployed app

To create a debug version of an app, you must set the DEBUG_PACKAGE environment variable to 1 (or TRUE) prior to packaging the app.

Before you begin, your app project must be open in Genero Studio.
Tip: When using the fgldb command line utility to debug a standalone app, you may need to alter your application in order to set a breakpoint in the MAIN module. This is necessary because the app needs to be running and interactive to start the use of fgldb. To enable this, you would start your app with this code:
MAIN
  MENU
    COMMAND "exit" 
      EXIT MENU 
  END MENU
  ...
END MAIN
With this addition, one can connect easily using fgldb from the command line. For details on using fgldb, see the Genero Business Development Language User Guide.
  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 Package a mobile app. The package for the debug version of the app is created and ready to be deployed.