PHP debug with xdebug with laravel

01.Just download the extension from

and if you are not sure which .dll to download then goto

and paste your content of phpinfo() .

Then the wizard will guide you to correct version.Mine is php_xdebug-2.4.1-5.6-vc11.dll

02.Paste the .dll in C:/xampp/php/ext/ and Go to php.ini and paste or uncomment the following lines

03.Find the xdebugide key from phpinfo().You can search from ctrl+f in phpinfo() .If you do not find it or xdebug header please install xdebug with correct path !!!

04.Say xdebugide is 10432.Then go to phpstrom ,create a .php file and

PHP Remote Debug -> Add Server +Ide Key=10432

05.make sure you enable remote listening of upper right side of the start/debug menu.

06.Put a break point in php file and go to that link .you will see the debugging is working.If not then try something like this..


N.B. Common error:

–Xdebug MUST be loaded as a Zend extension in Unknown on line 0
meaning zend extension must first line after [xdebug] tag

–Two extension loaded
must load xdebug at first line after [xdebug] .no more addition references is allowed.

Leave a Reply

Your email address will not be published. Required fields are marked *