Quantcast
Channel: Drupal Groups - Drupal 7
Viewing all articles
Browse latest Browse all 144

PHPStorm and Xdebug with a D7 Site

$
0
0

I am trying to get everything set up to use PHPStorm and Xdebug to work on a D7 site for my new job. My local environment is OS X 10.11 with Apache 2.4.18, PHP 5.5, and MySQL 5.7. So far, I haven't been able to get it to work. Here's what I've done so far:

  • Modified the /private/etc/php.ini file with the following settings:

    zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so"
    xdebug.remote_enable=1
    xdebug.remote_mode="jit"
    xdebug.remote_port="9000"
    xdebug.idekey=PHPSTORM
  • Ensured the PHP debug settings in PHPStorm were set correctly.

  • Set up the necessary server profiles and PHP Web Application settings under Run->Edit Configurations in PHPStorm.
  • Installed the Xdebug plugin for Google Chrome.

I get nothing showing up in PHPStorm when I set a breakpoint (e.g. index.php) and either try to listen for any connections from the browser plugin, or hit the debug button. Any pointers and tips from folks with experience running this or a very similar setup are greatly appreciated.


Viewing all articles
Browse latest Browse all 144

Trending Articles