Tweak Settings — Development

Valid for versions 124 through the latest version

Version:

110

112

116

118

120

124

Last modified: October 16, 2024


The Development section includes the following settings:

Setting Description Values Default
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.
  • 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 echo -n > /var/cpanel/debughooks and /scripts/restartsrv_cpsrvd commands to disable debug mode and restart the cpsrvd daemon.
Important:
If you enable this setting, it also enables debug mode in the cPanel interface. This severely impacts the loading and performance of the cPanel interface. We recommend that you disable this setting when you do not need it.
  • 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. — 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 outputs a large amount of data.
Debug mode is off.
User Interface - Debug Mode This setting changes the way the system generates user interfaces. For example, it disables optimizations such as minifications and cache-busting.
  • 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 and logs it to the error log.
Debug mode is off.