1/22/2024 0 Comments Download install xdebug docker(if that doesn't work for your instance, then try inserting into line 2 of themes//template.php) Install and enable Xdebug helper extension in chrome.Īdd phpinfo() exit() to your index.php and refresh your page.For me it was under /app/sites/default/themes/custom/oa_theme/, this is important if you want to debug in your theme's template.php for example. NOTE: Your theme might be in a different place. Configure PHPStorm “Servers” and add path mapping between local folder to the remote folder. themes) from cli container to the host e.g. Copy entire /app folder or selected folders (e.g. In order the debug into files, you'll need them to exist on your local machine.Once added you'll need to destroy your local environment and recreate it. Just restarting won't work for whatever reason. LAGOON_ROUTE: &default-url $ĭOCKERHOST: # Docker 18.03+ Mac/Win Add DOCKERHOST: "" for MAC & Window, DOCKERHOST: "172.17.0.1" for Linux and XDEBUG_ENABLE: "true" to docker-compose.yml or create a file.The original version of this page was provided by Gregory Netsas and his colleague Ahmed Jabar on the #australia-nz channel in the Drupal slack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |