Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get __debugInfo to work with XDebug?

It seems __debugInfo does not work when xdebug overwrites var_dump.

Is there anyway to make this work?

I am using PHP 5.6.0 and XDebug 2.2.5

like image 514
Petah Avatar asked Nov 10 '14 01:11

Petah


1 Answers

This is now fixed in Xdebug - soon to be released: https://github.com/xdebug/xdebug/commit/14159486d8d77732b5ae193ca9431bae80c94074

like image 75
Derick Avatar answered Sep 27 '22 21:09

Derick