The JavaScript Execution Environment configuration category includes the following configurable options:
Debug Enabled
Debug Host Address
Path
Port
Secure
Suspend
ECMAScript Module
|
Debug Enabled |
|
|
BOOLEAN | |
Enable remote JavaScript debugging | |
|
|
false
|
|
|
|
Debug Host Address |
|
|
STRING | |
The hostname of the server running Smile CDR | |
|
|
localhost
|
|
|
|
Path |
|
|
STRING | |
The url path the JavaScript Execution Environment debugger will expect connections on. This url path should be hard to guess to prevent unexpected connections. If blank, the server will generate and log a new random UUID every time the module is restarted. | |
|
|
(no default) | |
|
|
Port |
|
|
POSITIVE_INTEGER | |
The port the JavaScript Execution Environment debugger will accept debug connections on | |
|
|
9930
|
|
|
|
Secure |
|
|
BOOLEAN | |
Whether the debug connection url should use TLS. | |
|
|
false
|
|
|
|
Suspend |
|
|
BOOLEAN | |
Whether Smile CDR should pause when restarting the module to wait for the debugger to attach. | |
|
|
true
|
|
|
|
ECMAScript Module |
|
|
BOOLEAN | |
The script is an ECMAScript Module. This permits the use of import but requires all functions to be exported. | |
|
|
false
|
|
|