![]() SSH to the PHP container: docker-compose exec php sh.Check the output of the phpinfo() again and make sure that the remote_host value is set to for Mac & Windows 172.17.0.1 for Linux.įollow these steps to enable XDebug Profiler:.If this is not the case, add the following on line 28 to your docker-compose.yml: Make sure that remote_host is set to the correct IP address.(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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |