Configure development environment

Configure a development environment to troubleshoot an Genero Web Client for JavaScript (GWC-JS) application.

To troubleshoot and debug an application, you may need to view the application log files and the AUI tree. For this you will need to set up a development environment. For example, to configure a development environment for applications using uaproxy protocol, perform the following steps:

  1. In the GAS configuration file (default %FGLASDIR%/etc/as.xcf), change:
    <RESOURCE Id="res.uaproxy.param" Source="INTERNAL"></RESOURCE>
    to:
    <RESOURCE Id="res.uaproxy.param" Source="INTERNAL">--development</RESOURCE>
    Tip:

    Or alternatively:

    You can also run the dispatcher from the command line and override the settings in the GAS configuration file for res.uaproxy.param:

    httpdispatch.exe -E res.uaproxy.param=--development

  2. Restart the dispatcher. The dispatcher must be restarted whenever you modify the application server configuration file in order for the changes to take effect.
  3. Enter the application URL in your browser.

    You should now see the Debug Tools icon (next to the close application icon) on the right-hand side of your web application window. See GWC-JS application in debug mode.