
File -> New Project from Existing Files.Which is also the DocumentRoot for mylocalsite vhost config in Apache.


So, as a result, we have two assumptions:

It is assumed you already have a full Drupal environment which includes: Apache, MySQL, PHP, Drupal and XDebug If you would like to know how to install Drupal or Acquia Drupal or XDebug please refer to the hundreds of articles already published.įor full documentation on using PHPStorm and Drupal, refer to the JetBrains documentation. The line that says ‘with Xdebug v2.7.0alpha1’ confirms that it has been installed correctly.This Article explains to you how to configure your PHPStorm to work with your local installation of Drupal and debug using XDebug. Check if Xdebug has been installed by running the following command in a terminal:.At the end of this file, add the following lines:.This file is located within the folder where you installed PHP, C:\PHP\php.ini for me. Open php.ini file in an editor like Notepad, Notepad++ or Visual Code.This is the folder where PHP keeps all of its extensions and can be found under the folder where you have installed PHP. Move the downloaded file to the /ext folder.Download the specified file from the step before.Once analyzed, the result will tell if you have Xdebug installed or not, and which.Copy the output of that command and paste it in the Xdebug Wizard.Run the following command in a terminal:.

You must have PHP installed on your system. In this tutorial, we will be installing Xdebug on Windows 10, the steps are similar for any Windows version. Makes development easier by allowing the developer to debug his code in a simple and quick way. Xdebug is an extension for PHP to assist with debugging and development. Official Xdebug installation guide from JetBrains (really good) What is Xdebug? Xdebug and You: Why You Should be Using a Real Debugger This article will show you step by step how to install and use Xdebug on Windows.
