What is the syntax for the config.json file? The config-sample.json seems to be out dated as the BasicReactor module is no longer included. Also, I noticed that there are files that are automatically saved to the /storage directory that seem to contain the configuration information. Could you explain what the significance of these files are? Also, how are the file names generated?
Lastly, is there any way to debug our own javascript modules besides console.log?
New Automation Modules
Re: New Automation Modules
If you use 1.5, you don't need config.json anymore. Everything is store stored in sotrage/ folder. This folder contains everything saved using saveJSON(). Essencially, the new UI with new automation backend relies on this folder to store all the data.
From 1.4 you have a pretty detailed log with all exceptions, while console.log allows you to just pring in the log file. We do not have realtime debugging tool like Chrome have for example, but you can always run JS code from the URL line in your browser to test JS code
From 1.4 you have a pretty detailed log with all exceptions, while console.log allows you to just pring in the log file. We do not have realtime debugging tool like Chrome have for example, but you can always run JS code from the URL line in your browser to test JS code