http://kalenjohnson.com
@kalenjohnson
Son: Nate
We spend a lot of time reading code
We spend a lot of time understanding code
We spend a lot of time cursing code
hardcore logo
apt-get install php5-xdebug
Ubuntu & co.
CentOS, Fedora, RHEL, etc.
yum install php-pecl-xdebug.x86_64
Mac OSX using Homebrew
brew tap josegonzalez/homebrew-php
brew install php55-xdebug
zend_extension=xdebug.so
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
php.ini
xdebug.ini
phpinfo();
We've installed a PHP Module
Text
Or right after a quick intro to what an interactive debugger is:
XDebug profiling & PHPStorm:
Webgrind:
https://github.com/jokkedk/webgrind
Other (newer) Profilers:
Blackfire: https://blackfire.io/
New Relic: http://www.newrelic.com/PHP-Profiling
Questions?