php-xdebug-docker
php-xdebug-docker copied to clipboard
Debug PHP with Xdebug inside Docker. Tested with PhpStorm and VS Code.
Steps: - Checkout the project - docker-compose up --build -d on the terminal. - Run XDebug from VSCODE Browsers I've tried: Chrome/Safari/Firefox When I loaded website, phpinfo shows ``` xdebug.client_host...
Hello, i will modify the start point of the apache. in the Dockerfile i set: ´´´ ENV APACHE_DOCUMENT_ROOT=/var/www/html/public RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf...
Hello, in my projet there are same directory. ``` public/index.php public/javascript/ public/css/ src/action/ src/model/ src/service/ ``` How can i set the document root of the apache ? I will start...
Hello, I tried to follow your configs and couldn't make this work. The **debug console** is clear and the code isn't stoping at break points. I just cloned your repo...