![]() This will allow you to view the Drush code within PHPStorm so you can add break points to it later.ġ. Add Drush code to PHPStormĭrush can be added to PHPStorm as an external library. You will need to have configured your PHPStorm as described in the first blog post. This allowed you to set breakpoints and inspect the value of variables at specific points in the code. In a previous blog post I outlined how to configure PHPStorm and Xdebug so you can step through the code of a webpage as it is executed. I've tested these instructions on Mac OSX. Here's a good blog post on getting xdebug working with PHP7 on Acquia Dev Desktop.I am going to explain how to setup your development tools so that you can debug Drush commands in real time, as they run. John Ennew over at Deeson has a helpful post about how to add Drush to your Drupal project as a PhpStorm external library - this allows you to debug Drush code as well! Check it out!
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |