PHP code example of netnaveed / php-debugger

1. Go to this page and download the library: Download netnaveed/php-debugger 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/ */

    

netnaveed / php-debugger example snippets




use netnaveed\debugger\console;

// write string to console
console::log("A simple PHP debugger");

// write array to console in json format
console::log( [ 1,2,3 ] );

bash
composer 
bash
A simple PHP debugger - test.php(6)
[1,2,3] - test.php(9)