Homestead Vagrant xdebug3 vscode phpspec

Reset to original state ./vagrant destroy –force && ./vagrant up .vscode/launch.json { “version”: “0.2.0”, “configurations”: [ { “name”: “Listen for Xdebug”, “type”: “php”, “request”: “launch”, “port”: 9003, “log”: true, “pathMappings”: { “/home/vagrant/homestead.test”: “/home/chris/code/homestead.test” } } ] } Start an ssh session ./vagrant ssh Create the xdebug log file sudo touch /var/log/xdebug.log && sudo chmod 777… Continue reading Homestead Vagrant xdebug3 vscode phpspec

Dockerized phpmyadmin

Phpmyadmin is available as a Docker image. The mysql server connection parameters are provided when the container is instantiated. docker run -d –name pma_local \ –network=docker_network \ -e PMA_HOST=db \ -e PMA_PORT=3306 \ -e PMA_USER=root \ -e PMA_PASSWORD=password \ -p 8080:80 phpmyadmin/phpmyadmin –network The docker network the phpmyadmin container will join. PMA_HOST, PMA_PORT Name and… Continue reading Dockerized phpmyadmin