Debugging PHP code with PhpStorm 7
Install Xdebug
Modify your
php.ini
:
1 2 3 4 5 6 |
[xdebug] zend_extension="/usr/local/Cellar/php55-xdebug/2.2.4/xdebug.so" xdebug.remote_enable=1 xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.idekey=PHPSTORM |
Restart web server
Start PhpStorm
Open Run/Debug configuration
Create a
PHP Web Application
configurationInstall Xdebug helper Chrome extension
Enable xdebug debugging
in chrome browserStart listen for PHP Debug Connections
in PhpStorm 7Done!