Enabling Debug Mode for User Plugin
The cPanel end-user plugin provides a debug mode for use troubleshooting problems. Debug mode is disabled by default.
You should enable debug mode if the plug-in displays the "an error has occurred" message.
Enabling Debug Mode
Create the plugin configuration by copying the default file:
cp /usr/local/xvarnish/ui/cpanel/configuration.php-default /usr/local/xvarnish/ui/cpanel/configuration.php
Open this new file using your favorite editor:
DEBUG_MODEto a boolean true value as shown below. Save your changes.
Reload the cPanel end-user plugin to see additional debug information on the error.
DEBUG_MODEto boolean false once you are finished.