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
1 2 3 4 5 6 7 |
[xdebug] zend_extension=C:/xampp/php/ext/php_xdebug-2.4.1-5.6-vc11.dll xdebug.remote_autostart=1 xdebug.remote_enable=1 xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 ;xdebug.idekey=PHPSTORM |
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..
http://localhost/laravel1/public/?XDEBUG_SESSION_START=14489
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.