Tuesday 26 February 2019

Xdebug Chrome preview not rendering the response properly, shows one line only

Chrome preview does not render the response properly, since yesterday when I upgraded the work machine from Win 8 to Win 10. Please see the screenshots:

enter image description here

enter image description here

As you can see, only one line of the object is rendered, when I tried it with a simple array, same thing happened, it only rendered the word "array" and "0";

I'm using Chrome 72.0.3626.96, WampServer64 with PHP 7.2.14 and those are my Xdebug settings in php.ini:

zend_extension="c:/wamp64/bin/php/php7.2.14/zend_ext/php_xdebug-2.6.1-7.2-vc15-x86_64.dll"

xdebug.default_enable=1
html_errors = On
xdebug.remote_host = 127.0.0.1
xdebug.remote_enable = 1
xdebug.remote_port = 9123
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="c:/wamp64/tmp"
xdebug.show_local_vars=0
xdebug.var_display_max_depth = 10
xdebug.var_display_max_children = 256
xdebug.var_display_max_data = 1024 

It worked literally a day ago before I got Windows 10. Chrome bug or am I doing something wrong?



from Xdebug Chrome preview not rendering the response properly, shows one line only

No comments:

Post a Comment