[xdebug-general] Re: Hide File and Hide Line

From: Derick Rethans <derick[@]xdebug.org>
Date: Thu, 1 Dec 2016 11:48:03 +0000 (GMT)

On Thu, 1 Dec 2016, Humberto Castelo Branco wrote:

> Hello, is possible hide the path of the file and the file line of the
> command "var_dump"?
>
> /media/veracrypt1/www/test.php:144:string 'Fantastic Beasts and Where to
> Find Them' (length=39)
>
> string 'Fantastic Beasts and Where to Find Them' (length=39)

Yes, by setting xdebug.overload_var_dump to 1.

See also the documentation at
https://xdebug.org/docs/all_settings#overload_var_dump

cheers,
Derick

-- 
Like Xdebug? Consider a donation: https://xdebug.org/donate.php
Xdebug | https://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Thu Dec 01 2016 - 11:48:03 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST