![]() ![]() ![]() ![]() The third line tells Xdebug to try to connect to whichever client (i.e., your browser) that made the HTTP request. The second line tells Xdebug not to start debugging automatically we want to control when Xdebug starts rather than have it run on every request. The first line tells Xdebug to try to connect to the IDE (i.e., PhpStorm), which will only happen if two conditions are met ( see below). However, by default Xdebug will trigger on each request, which is not what we want because it makes local development painfully slow.įor more granular control it is better to configure Xdebug via php.ini, which should contain these lines: xdebug.remote_enable = 1 As of Lando RC2 you must set xdebug: true in order for the Xdebug extension to be loaded in your container. Lando’s documentation instructs you to enable xdebug via the. In this guide I will show you how to configure Xdebug for Lando and PhpStorm. For me one of the most important factors for efficient local development is the ability to quickly toggle Xdebug on or off.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |