XDebug offers the configuration directive \"xdebug.profiler_enable_trigger\" that allows to activate profiling by passing the GET or POST parameter \"XDEBUG_PROFILE\" when c
I got this working on Ubuntu/Netbeans by:
Then it's simply a case of starting debugging in netbeans and doing "php myscript.php" at the command line.