59.108    Initial User Seeding 59.110    JSON Web KeySet (JWKS)   

59.146.1JavaScript Execution Environment

 

The JavaScript Execution Environment configuration category includes the following configurable options:

  • Debug Enabled

  • Debug Host Address

  • Path

  • Port

  • Secure

  • Suspend

  • ECMAScript Module

59.146.2Property: Debug Enabled

 
Property Name Debug Enabled
Property Key
Property Type BOOLEAN
Description Enable remote JavaScript debugging
Applies to Modules
Default Value false
Example Property
module.[MODULE_ID].config.debug.debug_enabled = false

59.146.3Property: Debug Host Address

 
Property Name Debug Host Address
Property Key
Property Type STRING
Description The hostname of the server running Smile CDR
Applies to Modules
Default Value localhost
Example Property
module.[MODULE_ID].config.debug.host_address = localhost

59.146.4Property: Path

 
Property Name Path
Property Key
Property Type STRING
Description 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.
Applies to Modules
Default Value (no default)
Example Property
module.[MODULE_ID].config.debug.path = some-unguessable-random-path

59.146.5Property: Port

 
Property Name Port
Property Key
Property Type POSITIVE_INTEGER
Description The port the JavaScript Execution Environment debugger will accept debug connections on
Applies to Modules
Default Value 9930
Example Property
module.[MODULE_ID].config.debug.port = 9930

59.146.6Property: Secure

 
Property Name Secure
Property Key
Property Type BOOLEAN
Description Whether the debug connection url should use TLS.
Applies to Modules
Default Value false
Example Property
module.[MODULE_ID].config.debug.secure = false

59.146.7Property: Suspend

 
Property Name Suspend
Property Key
Property Type BOOLEAN
Description Whether Smile CDR should pause when restarting the module to wait for the debugger to attach.
Applies to Modules
Default Value true
Example Property
module.[MODULE_ID].config.debug.suspend = true

59.146.8Property: ECMAScript Module

 
Property Name ECMAScript Module
Property Key
Property Type BOOLEAN
Description The script is an ECMAScript Module. This permits the use of import but requires all functions to be exported.
Applies to Modules
Default Value false
Example Property
module.[MODULE_ID].config.ecmascript_module = false
   59.108    Initial User Seeding 59.110    JSON Web KeySet (JWKS)