forked from Typesetter/Typesetter
-
Notifications
You must be signed in to change notification settings - Fork 0
Debugging
gtbu edited this page Apr 9, 2023
·
5 revisions
Typesetter has inbuilt debugging : To activate, You have to edit the gpconfig.php in the root-directory.
169 defined(‘gpdebug’) or define(‘gpdebug’,true);
177 define(‘gpdebugjs’,true);
evtl. 186 @ini_set(‘display_errors’,1); <- also a hook in the CMS
- W3 has published about PHP-Errorhandling.
- For PHP exist further possibilities with free tools like xdebug and Online-debugger.
- Tools like phpstorm cost monthly. For the free Visual Studio Code – IDE exists plugins like php-codesniffer.
- A mozilla – site about css-debugging with firefox