This Article explains you how to configure your PHPStorm to work with your local installation of Drupal and debug using XDebug.
If you would like to know how install Drupal or Acquia drupal or XDebug please refer to the hundreds of articles already published.
Installing PHPStorm 3.0
- Download trial PHPstorm 3.0 http://www.jetbrains.com/phpstorm/
Create a Project
It is assumed you already have a full Drupal environment which includes: Apache, MySQL, PHP, Drupal and XDebug
So as a result we have two assumptions:
- Your local drupal site is at http://mylocalsite (usually its http://localhost)
- your local drupal code is at c:\path\to\my\local\code
which is also the DocumentRoot for mylocalsite vhost config in Apache.
So here is what you need to do:
- File --> New Project from Exisiting Files
- Choose Web Server is installed locally, source files are located under its document root --> Next
- enter the path your local Drupal code c:\path\to\my\local\code
- Local Server: