Hide Debug interface settings during production

Hide the Debug panel of the Settings dialog in a production environment.

About this task

The Debug panel contains interface settings that may be useful during application development. However, you may not want users on a production server to have access to these settings. You can configure PolicyCenter to automatically hide the Debug panel when the server is running in production mode, and to show the panel otherwise.

Procedure

  1. In Guidewire Studio, navigate to configuration > webresources, and then open the file Client_Properties.json.
  2. Locate the structure named system_preferences.
  3. Within this structure, place the following line:
    "show_debug_preferences_in_production": false
    If the setting is set to true, then the Debug panel is always shown.
    The following is an example of hiding debugging settings during production:
    "system_preferences": {
      "show_debug_preferences_in_production": false
    }

What to do next

See also