PHP code example of italystrap / debug
1. Go to this page and download the library: Download italystrap/debug library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
italystrap / debug example snippets
define( 'WP_DEBUG', true ); // Load helpers for debugging
define( 'WP_DEBUG_LOG', true ); // Write to debug.log file
define( 'WP_DEBUG_DISPLAY', false ); // Optional
@ini_set( 'display_errors', 0 ); // Optional
define( 'SCRIPT_DEBUG', true );
define( 'SAVEQUERIES', true );
define( 'ITALYSTRAP_DEBUG', true ); // Load helpers for debugging
d();
debug( $log );