I have Xdebug working, I can stop at and step through breakpoints. But the variables that it has already reached do not show up in the Variables window. See the picture - variables $test
and $test2
do not show up.
My config in php.ini is
[XDebug]
zend_extension = /usr/lib/php/20170718/xdebug.so
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 10000
xdebug.remote_mode = req
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.idekey = "PHPSTORM"
$test2
is kind of understandable (not used anywhere) .. but$test
should have been listed. Can you reproduce the same in some simple code? Does it behave the same in another project? IDE and Xdebug versions? What Xdebug log has to say? If it's not listed there then no wonder that IDE does not show it. Maybe show whole xdebug section ofphpinfo()
output -- maybe some option may help. can you evaluate$test
current value? How you installed current IDE version -- was it a full installer or built-in update? Try removing IDE and installing again using full installer..