I’m aware of https://github.com/roots/bedrock-ansible/issues/42, but at the same time, I’m still used to using Xdebug for my projects. I’m new to Ansible, so I’ve had to piece together how things are provisioned, as with a normal Vagrant site I could just add to provison.sh to install Xdebug. With Ansible, from what I understand, apps are added to the playbook as ‘roles’. After trying to figure out how to manually add Xdebug as a role, I found this- https://galaxy.ansible.com/list#/roles/1133.
It looks like that could possibly do the job, but I’m not sure how I would install it to work with Bedrocks layout. It seems like the variables listed there would also solve the problem of only allowing it to work on the development server, so I’m hoping this is a good solution if I can get it to work.
How would you go about installing this, or is there an easier way to install Xdebug that I’m not aware of? Any and all help is appreciated.
P.J.