Xdebug not working with var_dump ()

I'm not sure why, but xdebug does not emit var_dump (). But the configuration seems beautiful. I don’t know why ... Any suggestions?

This is my phpinfo (); http://pastebin.com/A45dqnWN

plus even xdebug_var_dump () does not highlight anything. It works, but it looks like regular var_dump ().

+5
source share
2 answers

I found that the option is "xdebug.default_enable Off Off" in php_info (). I also noticed that in recent versions of EasyPHP this option is disabled. So enable it by setting this line in php.ini:

xdebug.default_enable=1

Further, this is just a normal operation that completely disables var_dump and other errors in the HTML output (none of your business, but may be useful for others):

html_errors = On
+16

php 7.0.2 xdebug 2.4.0

xdebug.default_enable=1

+

html_errors = On

xdebug_var_dump().

. xdebug.c xdebug_var_dump(). , , xdebug_var_dump , .

@@ -2191,11 +2191,6 @@
    int     i, len;
    char   *val;

-   if (!XG(overload_var_dump)) {
-       XG(orig_var_dump_func)(INTERNAL_FUNCTION_PARAM_PASSTHRU);
-       return;
-   }
-
    argc = ZEND_NUM_ARGS();

 #if PHP_VERSION_ID >= 70000
0

All Articles