Being able to execute, and step debug, Drupal's test using the PhpStorm UI makes it easier and more efficient to write tests for your projects. Learn how to configure PhpStorm to run Drupal's PHPUnit tests inside of a DDEV-Local environment using docker-compose and a remote PHP CLI Interpreter. This setup will work for both Drupal core and your custom code.
Navigating the codebase of a Drupal project can be a tricky task. Using an integrated development environment (IDE) like PhpStorm can really help simplify many of these common tasks. PhpStorm, in particular, has excellent support for Drupal projects including code completion, syntax checking, and integration with things like version control systems and debugging tools.
- More efficiently traverse the class hierarchies in Drupal
- Manage the version control status of your code from within your editor
- Avoid several types of bugs and mistakes thanks to the parameter hints and syntax checking provided by the IDE
PHPStorm uses a subscription pricing model, so they are always releasing new features. They are also quite good at updating their documentation and tutorials to ensure their accuracy with the latest version. The best source of documentation is on the JetBrains website. See the "External resources" below for links.