While developing we strongly recommend to use logs for errors detection.
If any error occurs during data processing, client-side data processor object will receive “error” action containing short info about the problem (full info will be written to the log).
$conn->enable_log("path");
When critical error occurs all log records for current session (full error info) will be sent to client and shown in browser (useful for debugging, not recommended for production):
$conn->enable_log("path",true);
During development you may need to write some custom data to the log (can be useful for custom server-side events).
To add custom text or data to log file:
$conn->enable_log("temp.log"); LogMaster::log("any text here");
Dataprocessor has its own client-side logger, which can be enabled by including one additional js file - dhtmlxdataprocessor_debug.js