Role required: admin. |
To debug a script, you can use a built-in debugger.
For debugging use only the system instances intended for developing and testing business solutions, where there is no sensitive data, to avoid its loss or corruption.
You can use the try... catch
blocks for script debugging.
Before debugging, pay attention to the methods: Escape these methods or remove them to prevent data corruption or loss. |
To debug a script, do the following:
You can also open any record form in this debugger by calling the Open in script item in the hamburger menu.
Using this functionality, you can:
It is recommended to use SimpleSystem methods to display values when debugging a server-side script: