I've installed PHP 5.3.8 on my localhost and I tried to configure Xdebug, but for some reason, Xdebug doesn't seem to work. I've added following lines to my php.ini
file:
zend_extension = C:\Server\PHP\5.3.8\ext\php_xdebug-2.1.3-5.3-vc9.dll
xdebug.remote_enable=on
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=”dbgp”
And of course, the file in the zend_extension
path is exists. And I also have tried restarting my Apache.
Is there a specific type of Xdebug for every version of PHP or is this just a matter of a bad configuration?
EDIT:
I've tried every 2.1.3 and 2.1.2 dll available on the Xdebug site, but none of them seems to work...
EDIT 2:
Ok, great, I just got the latest Xdebug version working, but my var_dump
's still look awful... Here is what they look like:
array(3) { [0]=> string(4) "text" [1]=> string(4) "node" [2]=> string(6) "blabla" }
But they used to look like this:
array(3)
0 => 'text' string(4)
1 => 'node' string(4)
2 => 'blabla' string(6)
How do I get them to look like this?