How to enable formatted errors and Xdebug traces

I'm not sure when or what I changed, but suddenly xdebug no longer displays its formatted stacks. Instead, it displays stacktrtace without HTML; here is an example ; While I would expect orange tables, for example here

I was looking for documentation, but cannot find a link to a parameter or configuration that would (un) install this. What have I done wrong?

My xdebug.ini (Ubuntu, so / etc / php 5 / conf.d / xdebug.ini) is small:

zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so xdebug.default_enable = 1 xdebug.auto_trace = 1 xdebug.remote_enable = 1 xdebug.remote_port = 9010 xdebug.remote_host = audrey ; xdebug.profiler_enable = 1 ; Markup of var_dump xdebug.overload_var_dump = 1 
+8
xdebug
source share
3 answers

Xdebug respects the usual PHP settings for error reporting and formatting. In this case, you most likely have html_errors set to Off in php.ini. Turn it back to On, and Xdebug will display nice orange tables again.

amuses Derik

+22
source share

try it

 ini_set('xdebug.auto_trace', 1); 

http://php.net/manual/en/function.ini-set.php

0
source share

In my updated Ubuntu 14.10, it stopped working, so I realized that the module was disconnected at some point, so I turned it back on with the following command:

 sudo php5enmod xdebug 
0
source share

All Articles