Setting up Xdebug can be complicated, so remember to read the instructions of your IDE's plugin, and review Xdebug's documentation for how to connect it. If you want a free editor that is fairly lightweight, Microsoft's VSCode editor is an open-source option that has plugins for PHP and Xdebug. The most often recommended approach is to use PHPstorm and Xdebug as the configuration is the most simple to get setup, however, almost all IDEs have a plugin for Xdebug. If you use the other non-Xdebug methods noted below you will have many recursive things rendering which may result in pages and pages of information that are not useful to you. Viewing variablesįar and beyond the best way to deal with Viewing variables is to use Xdebug. To save time during development, enable automatic reloading by setting _reload: true in services.yml (by default, auto reloading will turned on with : true).įor more information, see. To manually rebuild the templates run drush cr. Twig templates are compiled to PHP classes on disk for better performance, but this means by default your templates are not refreshed when you make changes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |