I have also SSH'd into my PHP container and confirmed that `` is working. & echo "xdebug.client_host = " > /usr /local /etc /php /conf.d /docker-php-ext-xdebug.iniĬOPY -from= composer:latest /usr /bin /composer /usr /local /bin /composerĬMD Īnd my PHPinfo() shows that xDebug3 is installed and running - so that's a start - I just don't know what to do next! & echo "xdebug.mode=debug" > /usr /local /etc /php /conf.d /docker-php-ext-xdebug.ini \ On Linux and Mac: fill blank For newly created domains, you will need to create the SSL certificate: docker-exec -it web zsh. RUN sed -i "s/user = RUN sed -i "s/group = RUN mkdir -p /var /www /html /public In Windows, open certmgr.msc > click Trusted Root Certification Authorities, then right click on that folder and select Import. Just as a starting point, I HAVE managed to install xDebug with this in my php.dockerfile: FROM php:8-fpm-alpine There seem to be a plethora of different options in PHPStorm for setting up debugger options, PHP interpreters, servers, configuration options - I don't really know where to start! FROM php:8.0-fpm RUN pecl install xdebug \ & docker-php-ext-enable xdebug And the xdebug configuration xdebug xdebug.modedebug xdebug.clientport9003 xdebug.startwithrequestyes xdebug.discoverclienthosttrue xdebug.idekeyPHPSTORM xdebug.log '/var/log/xdebug.log' xdebug.outputdir '/var/log. I would now like to install xDebug in order to debug using my IDE which is PHPStorm and I'm not really sure what I need to do. Been getting to grips with Dockerizing my new Laravel app using this Laracast series - I've set things up exactly as per this and all works great!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |