Decisions Developer Debug Mode
  • 28 Aug 2024
  • 1 Minute to read
  • Dark
    Light

Decisions Developer Debug Mode

  • Dark
    Light

Article summary

Overview

Decisions' Developer Debug Mode helps troubleshoot front-end code issues. When there is an error, this mode provides the line number of code throwing the error. To set up the Decisions Developer Debug mode, the Settings.xml file must be modified. This file has two locations in the Decisions file system. After the files are modified, a Service Restart is required to apply changes. 

Admin Required
The Settings configured in this article require Administrator privileges in the Decisions environment and on the host machine.



Enabling Decisions Developer Debug Mode

  1. Navigate to C:\\Program Files\Decisions\Decisions Server
  2. Open Settings.xml in a text editor. 
  3. Use the find function of the editor (Ctrl+F or cmd+f respectively) to locate <EnvironmentName>.
  4. Change the value between the <EnvironmentName> </EnvironmentName> tags to Development
  5. Save and close the file.
  6. Restart Decisions Server (or IIS App Pool).
  7. Refresh the platform browser page.


Decisions Studio

Once logged into the environment, the DECISIONS will display a small [DEBUG MODE] declaration next to it, indicating that the environment is in the Developer Debug mode. 




Viewing the Logs

The user-interface logging can be accessed from the browser developer tools, typically by pressing F12 (or Ctrl + Shift + i) on the keyboard.

2020-01-20_15h11_33.png




Was this article helpful?