Next revision | Previous revision |
config:jsexec.ini [2020/09/13 16:57] – created (stub) digital man | config:jsexec.ini [2022/03/14 19:44] (current) – [See Also] tags Andre |
---|
====== JSexec Configuration ====== | ====== JSexec Configuration ====== |
FIXME | |
| The optional ''[[dir:ctrl]]/jsexec.ini'' file contain the following: |
| |
| In the //root// section, in addition to the standard [[JavaScript]] settings: |
| |
| ^Key ^Default Value ^Possible Values ^Description ^ |
| |''LogLevel'' |''INFO'' |See [[INI Files#Enumerated Values]] |Minimum severity for log entries | |
| |''ErrorLevel'' |''ERROR'' |See [[INI Files#Enumerated Values]] |Log level to use for error messages | |
| |''Debugger'' |''false'' |true/false |Enable the debugger | |
| |''PauseOnExit'' | ''false'' |true/false |Wait for keypress upon exit| |
| |''PauseOnError'' | ''false'' |true/false |Wait for keypress upon abnormal exit (error)| |
| |''umask'' | //none// | |File creation permissions/mode mask | |
| |''AutoTerminate''| ''true'' |true/false |Automatically terminate script when aborted locally | |
| |
| ===== Module-specific Settings ===== |
| |
| Additionally, if there is a section named after the module being executed, any keys set in that section will over-ride the global options set in the //root// section. i.e. ''jsexec mymodule.js'' will allow any settings in the ''[mymodule]'' section of ''jsexec.ini'' to over-ride the global/root settings. |
===== See Also ===== | ===== See Also ===== |
* [[:config:|config index]] | * [[:config:|config index]] |
| |
{{tag>jsexec}} | |
| {{tag>configuration javascript general_config ini}} |
| |