• Edit
  • Delete

PHP xdebug installation on Ubuntu

 

  • sudo apt-get install php-xdebug
  • sudo vi /etc/php/7.2/mods-available/xdebug.ini (Ubuntu 18.04)
    • zend_extension=xdebug.so
      display_error = On
      html_errors = On
      
      xdebug.var_display_max_depth = 15
      xdebug.var_display_max_data = 4096
      xdebug.var_display_max_children = 1000
      xdebug.max_nesting_level = 200