![]() Otherwise, edit your Dockerfile to install php-xdebug from the package manager. ![]() With Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick Rethans ![]() Zend Engine v3.4.0, Copyright (c) Zend Technologies If your output shows that xDebug is installed, as below, you skip to the next section. docker exec -it your-cantainer bash) and run php -v. You should first check that you don’t have xDebug already installed on your container.Īccess your container (i.e. Printing the content of a variable is effective, but not really efficient when it comes to follow its lifecycle in an application.ĭebugging is an important skill for a developer, but setting up the correct environment may be tedious. According to The State of the Developer Ecosystem 2019, 65% of PHP developers relies on var_dump(), dd(), etc… to debug their applications, while only the 35% uses a proper debugger.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |