O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
Drupal Development with
PhpStorm and Xdebug
April 1st, 2017
Senior Software Engineer
Started with ICFOlson in Nov. 2015
First dive into Drupal was in 2011
Considered primarily a back...
Code Formatting
Code Sniffing/Linting
Enforce Drupal Coding Standards
Code Completion
Drupal Support/Documentation
Integra...
How to setup PhpStorm for Drupal Development
Documentation from JetBrains
http://bit.ly/2opl58E
Lets Prepare PhpStorm for Xdebug
In PhpStorm, go to the PhpStorm > Preferences menu.
Under Languages and frameworks, expan...
Lets prepare Acquia Dev Desktop to include
Xdebug
Open the Acquia Dev Desktop > Preferences menu.
In the Config tab, under...
Continued…...
Add your Acquia Dev Desktop website as a project in PhpStorm
Configure remote debug
In the Run menu, select ...
Continued…
In the Name field, provide a meaningful name.
Click the box next to the Server list to add a new server.
Provid...
And Finally
How to setup DrupalVm to include Xdebug
Documentation
http://docs.drupalvm.com/en/latest/extras/xdebug/
Config File
https:...
Copyright 2017, ICF Olson, All Rights Reserved. Confidential and Proprietary Property of ICF Olson.
Think Like People®
MidCamp Sprint
Sunday, March 20 at 10 am
UIC COMRB 909 S. Wolcott St
(across the street from the venue)
Contributors of al...
¿Feedback on Joind.in?
http://bit.ly/2oj9B9J
Chris Haynes
chris.haynes@icfolson.com
@haynescw
drupal.org/u/haynescw
github.com/haynescw
¿Questions?
Drupal Development w/ PhpStorm and Xdebug
Drupal Development w/ PhpStorm and Xdebug
Próximos SlideShares
Carregando em…5
×

Drupal Development w/ PhpStorm and Xdebug

How to setup PhpStorm to use Xdebug. Plus how to turn on Xdebug on Acquia Dev Desktop and DrupalVM

  • Entre para ver os comentários

  • Seja a primeira pessoa a gostar disto

Drupal Development w/ PhpStorm and Xdebug

  1. 1. Drupal Development with PhpStorm and Xdebug April 1st, 2017
  2. 2. Senior Software Engineer Started with ICFOlson in Nov. 2015 First dive into Drupal was in 2011 Considered primarily a backend developer Certified as Drupal 8 Sitebuilder Certified as Drupal 8 Developer
  3. 3. Code Formatting Code Sniffing/Linting Enforce Drupal Coding Standards Code Completion Drupal Support/Documentation Integrated Drush Console/Commands Xdebug
  4. 4. How to setup PhpStorm for Drupal Development Documentation from JetBrains http://bit.ly/2opl58E
  5. 5. Lets Prepare PhpStorm for Xdebug In PhpStorm, go to the PhpStorm > Preferences menu. Under Languages and frameworks, expand PHP. Click Debug. In the xdebug section, select Can accept external connections. Confirm that the Debug port is set to the default value of port 9000. Click OK to save your changes. Go to View and click Toolbar, which has an icon for turning listening on and off
  6. 6. Lets prepare Acquia Dev Desktop to include Xdebug Open the Acquia Dev Desktop > Preferences menu. In the Config tab, under Stack configuration files, find the php.ini path for the version of PHP that you are using, and then click the Edit link next to it. Your php.ini file will open in a text editor. Search for a line that contains xdebug.so and uncomment it by removing the ; (semicolon) at the beginning of the line zend_extension="/Applications/DevDesktop/php5_5/ext/xdebug.so” Add “xdebug.remote_enable=1” to your php.ini file
  7. 7. Continued…... Add your Acquia Dev Desktop website as a project in PhpStorm Configure remote debug In the Run menu, select Edit Configurations. In the Run/Debug Configurations window, click the plus sign (+) to add a new configuration, and then select PHP Remote Debug.
  8. 8. Continued… In the Name field, provide a meaningful name. Click the box next to the Server list to add a new server. Provide a meaningful name for the server. Add the hostname and port that your local website uses under Acquia Dev Desktop. Ensure that the Debugger selector is set to Xdebug. Click OK to save your server configuration. Confirm that your new server is selected in the Server list, and then click OK to
  9. 9. And Finally
  10. 10. How to setup DrupalVm to include Xdebug Documentation http://docs.drupalvm.com/en/latest/extras/xdebug/ Config File https://github.com/geerlingguy/drupal-vm/blob/master/example.config.yml
  11. 11. Copyright 2017, ICF Olson, All Rights Reserved. Confidential and Proprietary Property of ICF Olson. Think Like People®
  12. 12. MidCamp Sprint Sunday, March 20 at 10 am UIC COMRB 909 S. Wolcott St (across the street from the venue) Contributors of all skill sets and levels are welcome and encouraged to join us!
  13. 13. ¿Feedback on Joind.in? http://bit.ly/2oj9B9J
  14. 14. Chris Haynes chris.haynes@icfolson.com @haynescw drupal.org/u/haynescw github.com/haynescw ¿Questions?

×