Coder of Salvation™   — programming / opensource / console / minimal

Xdebug console

A bashscript which easifies PHP debugging/profiling on live and productionservers.

Usage

Usage: 
    xdebug start    [options] <phpfile> [args]   <- triggers xdebug session for Zend/Eclips/Vim 
    xdebug profile  [options] <phpfile> [args]   <- generates a .cg (cachegrind) profiler file 
    xdebug trace    [options] <phpfile> [args]   <- generates a fulltrace textfile of the phprun
    xdebug summarize  <yourfile.cg>              <- summarizes a .cg file as simple text output

type 'xdebug --manual' to see the manual + examples

Demo

Check out this playterm recording.

Download

https://gist.github.com/1916309



comments powered by Disqus


All rights reserved by Leon van Kammen under this license