Child pages
  • Tweak Settings - Development
For cPanel & WHM version 70

Skip to end of metadata
Go to start of metadata

(WHM >> Home >> Server Configuration >> Tweak Settings)

 

Standardized Hooks - Debug Mode

The Standardized Hooks System’s debug mode helps to troubleshoot hook issues. For more information, read our Guide to Standardized Hooks - Debug Mode documentation.

You can select the following options:

  • Debug mode is off. — The system does not display debug information or log it to the error log.
  • Debug mode is on. The system displays information about a hook while it executes, but does not log debug data to the error log.
  • Debug mode is on. The system displays information about a hook while it executes and logs debug data to the error log.

    Important:

    This setting outputs a large amount of data.

  • Debug mode is on. The system displays information about every stage for every hookable event, even if no hooks exist for that stage.

This setting defaults to Debug mode is off.

Note:

If, instead of this setting, you use the /var/cpanel/debughooks file to enable debug mode, your locale may revert to the English defaults for JavaScript elements. To fix this problem, run the following commands to disable debug mode and restart the cpsrvd daemon:

echo -n > /var/cpanel/debughooks
/scripts/restartsrv_cpsrvd

Additional documentation