I am trying to set up a Vagrant box for Xdebug so I can run some performance tests, however I am having no luck getting it work. The box is a Homestead box (if that matters) running an instance of CodeIgniter. The website works and serves from the Vagrant box fine.
I used
http://www.sitepoint.com/install-xdebug-phpstorm-vagrant/ to try and get the Xdebug connection working but no dice. Currently my config is:
xdebug.ini has:
zend_extension=xdebug.so
xdebug.remote_enable = on
xdebug.remote_host = 10.0.2.2
xdebug.remote_port = 8081
xdebug.idekey = "vagrant"
I am forwarding 8081 to 8081 in the vagrant config.
PHPStorm is setup as:
PHP > Debug Xdebug port is 8081
PHP > Servers has my hostname, port 8081, Debugger set to Xdebug and paths mapped.
Running Validate remote environment returns successfully.
PHPStorm screenshot:
http://iforce.co.nz/i/4kwm1ir1.nuz.pngThanks for your time, I appreciate it.