S
S
Sergey2016-08-12 14:58:03
PHP
Sergey, 2016-08-12 14:58:03

How to disable file path in xdebug var_dump?

On the local machine, xdebug displays the path to the var_dump call file,
for example var_dumps('83');


/media/stor/exo/da/projects/sute/sute.ru/src/filder/function/dumps.php:8:string '83' (length=2)

It's not convenient for me, because i use my dump function, which already uses var_dump and displays the path to the file (dumps.php) with this function

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Masterov, 2016-08-12
@gangstarcj

xdebug.overload_var_dump = 1 It
's convenient to include your own function var_dumpvia auto_prepend_file .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question