Use Xdebug var_dump function without enabling other features

35 Views Asked by At

I only use var_dump functionality from xdebug extension.

I have set php.ini to xdebug.mode = develop.

But develop mode slows the whole application (I am assuming it enables a lot more features other than just var_dump).

Is it possible to enable only var_dump feature and disable all the rest of the features from Xdebug extension?

1

There are 1 best solutions below

2
Derick On

No, that is not possible. However, you can set xdebug.mode=off and call it as xdebug_var_dump() instead.