- $debug: boolean value indicating whether to display debug message
- Enable debug displays phpGrid object as well as the current PHP session information. In addition, XMLHttpRequest, or AJAX, response data is displayed that occurs during CRUD operations. This is helpful debugging information can be used during development.
- Make sure this method is not called, or the $debug parameter is set to false, when deployed in production.
$dg -> enable_debug(true);