Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Latest commit

 

History

History
10 lines (6 loc) · 874 Bytes

debug-mode.md

File metadata and controls

10 lines (6 loc) · 874 Bytes

Debug Mode

There are situations where the root cause for an error is not clear and requires extra steps to detect.

By default, Pagekit will hide any PHP errors. In order to show them, the Debug Mode must be enabled in System > Settings or it must be set to true in the configuration file manually.

Note If an error happens during the installation, the configuration file will not be generated. In that case, you need to edit the default config file located in app/installer/config.php.

You can enable the Debug Toolbar, which provides some useful information about the environment, the same way. Notice that some server errors may prevent the toolbar from being displayed.

Remember to disable the Debug and Debug Toolbar when the site is deployed on a production server.