Skip to:
Content
Pages
Categories
Search
Top
Bottom

An excellent debugging tool : FirePHP

  • Avatar of Grosbouff
    grosbouff
    Participant

    @grosbouff

    Maybe I am the only one who never saw this; but there is an excellent debugging tool for PHP : FirePHP ! (exists in a WP plugin version).

    I didn’t know that such a wonderful thing could exists; and maybe this could help you…

    So; all you need is to install FirePHP for WordPress and then; instead of testing your codes withs print_r(); echo();die(),exit()…

    You could just use FirePHP to send vars to the Firebug console !

    examples :

    <?php
    FB::log('Log message');
    FB::info('Info message');
    FB::warn('Warn message');
    FB::error('Error message');
    ?>

    in the console :

    http://www.firephp.org/images/Screenshots/SimpleConsole.png

    WONNNDERFUL !

You must be logged in to reply to this topic.