How to Install Visual Studio Code PHP Debugger in Ubuntu

Zyxware default image3

Recommended Reading: Why is Visual Studio Code Popular Here are the six quick steps for installing the latest version of PHP Debugger in Ubuntu

  1. Install the PHP debug by Felix Becker extension from extensions howtophpdebugger1.jpg
  2. Go to /etc/php/7.0/apache2 folder. Open the php.ini file using terminal using the “Sudo edit php.ini” command howtophpdebugger5.jpg
  3. Add these 2 lines at end of the file a. xdebug.remote_enable = 1 b. xdebug.remote_autostart = 1 howtophpdebugger4.png
  4. Open the command terminal
  5. Run the “sudo apt-get install php-xdebug” command for installing the xdebug howtophpdebugger2.jpg
  6. Restart the server using “sudo service apache2 restart” command howtophpdebugger3.jpg

PHP Debugger has been installed in visual studio code.

Want to know more about our development services? Get in touch with us!