This guide provide a step by step details on how to set up phpstorm IDE to work with xdebug.

 

First download xdebug and copy it into the extension folder. Copy the full path the extension.

 

Add the following xdebug settings to php.ini file.

 

php.ini file

 

 

Install easiest xdebug for Firefox and specify the remote IDE key for Firefox

<a href=“http://blog-sinaru.rhcloud.com/wp-content/uploads/2014/09/Untitled-picture.png" data-rel=“lightbox-image-0” data-rl_title=”" data-rl_caption="" title="">

Then in the xdebug configuration apply following

<a href=“http://blog-sinaru.rhcloud.com/wp-content/uploads/2014/09/Untitled-picture1.png" data-rel=“lightbox-image-1” data-rl_title=”" data-rl_caption="" title="">

Put debug points and run the remote debug setting.

<a href=“http://blog-sinaru.rhcloud.com/wp-content/uploads/2014/09/Untitled-picture2.png" data-rel=“lightbox-image-2” data-rl_title=”" data-rl_caption="" title="">

 

enable the easiest debug and navigate the test page through the browser. Your debug should be hit, the request url is reading the debug file.

 

Notes:

To stop breaking at the first line Untick Run->break and first line…