Daevid Vincent
2014-01-29 22:14:21 UTC
Derick,
I love XDebug.
However one thing that is problematic is that there doesn't seem to be a way
to turn off the special color and formatting. There is only a way to force
it enabled on a CLI via xdebug.cli_color. That's the opposite of what I
want.
For example, I am debugging some AJAX using Firefox and Firebug. I make the
request and using that tool I can view the returned "Response". However it
is all difficult to read: <pre class='xdebug-var-dump' dir='ltr'> <b>object</b>(<i>Join</i>)[<i>3</i>] <i>public</i> 'username' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'asdfasdf5'</font> <i>(length=9)</i> <i>public</i> 'password' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'testtest'</font> <i>(length=8)</i> <i>public</i> 'email' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'***@example.net'</font> <i>(length=16)</i> <i>public</i> 'customer_lname' <font color='#888a85'>=></font> <font
color='#3465a4'>null</font> <i>public</i> 'customer_fname' <font color='#888a85'>=></font> <font
color='#3465a4'>null</font> <i>public</i> 'customer_address' <font color='#888a85'>=></font> <font
color='#3465a4'>null</font>
I just want the nice plain version without all the HTML markup in there.
Ideally it would be a second parameter rather than a ini_set() option (or do
both!)
var_dump($myvar, NO_COLOR); or something like that.
Thanks,
Daevid Vincent
http://daevid.com
425.985.1752 cell PST
I love XDebug.
However one thing that is problematic is that there doesn't seem to be a way
to turn off the special color and formatting. There is only a way to force
it enabled on a CLI via xdebug.cli_color. That's the opposite of what I
want.
For example, I am debugging some AJAX using Firefox and Firebug. I make the
request and using that tool I can view the returned "Response". However it
is all difficult to read: <pre class='xdebug-var-dump' dir='ltr'> <b>object</b>(<i>Join</i>)[<i>3</i>] <i>public</i> 'username' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'asdfasdf5'</font> <i>(length=9)</i> <i>public</i> 'password' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'testtest'</font> <i>(length=8)</i> <i>public</i> 'email' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'***@example.net'</font> <i>(length=16)</i> <i>public</i> 'customer_lname' <font color='#888a85'>=></font> <font
color='#3465a4'>null</font> <i>public</i> 'customer_fname' <font color='#888a85'>=></font> <font
color='#3465a4'>null</font> <i>public</i> 'customer_address' <font color='#888a85'>=></font> <font
color='#3465a4'>null</font>
I just want the nice plain version without all the HTML markup in there.
Ideally it would be a second parameter rather than a ini_set() option (or do
both!)
var_dump($myvar, NO_COLOR); or something like that.
Thanks,
Daevid Vincent
http://daevid.com
425.985.1752 cell PST