Today I played around a while trying to configure Xdebug profiler to work with PhpStorm. The following config only apply to a local LAMP stack with Xdebug installed with homebrew.
Here is the xdebug.ini I used :
Could not embed GitHub Gist 9515998: API rate limit exceeded for 18.104.22.168. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
The folder you choose for the output must be writable by the server. You can also be lazy and do :
chmod 777 /PATH/TO/DIRECTORY
Once this is set, you can use this nifty little chrome plugin to start profiling.
The output will be written to the folder you specified. You can use it and let PhpStorm interpret the result for you by choosing : Tools | Analyze XDebug Profiler Snapshot.