Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated blurry and images to be better

...

Firstly, we want to use the Validating Your Debugging Configuration to check that that PhpStorm can speak to the remote server, and that our settings so far are up to date:

Image RemovedImage Added


You can see that we've used the public directory as the path to create the validation script, and the ip address of our Vagrant web server as the url (you should replace these with the relevant settings for your configuration).

...

Once PECL has installed Xdebug, it will tell you the location it has added the file and the directive you need to add to your php.ini tool in order to load the extension.

Image RemovedImage Added

Copy that directive to your clipboard, we need to add it to our php.ini file. The results of the debug validation tool (screenshot above) tells us the location of our php.ini file. Open that file in your favourite text editor, and paste the zend_extension at the end of your file. We'll also need to add the directives from the Xdebug Installation Guide. In my case, I added the following to my php.ini file.

...

Now, when we run the Debug Validation Tool, we should see:

Image RemovedImage Added

Success! All blue means everything is working, and you are ready to start debugging using PhpStorm and your Vagrant VM.

...