Closed ukenpachi closed 3 years ago
You don't need to do anything in Homestead to get xdebug working via Apache/nginx. Just create your configuration in your IDE and make sure you map your folders to the paths in Homestead.
You don't need to do anything in Homestead to get xdebug working via Apache/nginx. Just create your configuration in your IDE and make sure you map your folders to the paths in Homestead.
this doesnt work. I have tried. Done the mapping to the vagrant project directory, etc. I have tried alot of set up steps spends 8 hours trying different solutions and destroy the box a few times in the process and still nothing. Has soon as I use xampp or wampserver. It works by me just added
[xdebug]
zend_extension="PATH/TO/xdebug.so"
xdebug.remote_autostart=1
xdebug.default_enable=1
xdebug.remote_port=9001
xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1
xdebug.remote_enable=1
xdebug.idekey=PHPSTORM```
to the php.ini file and boom. Just thing the latest vagrant or homestead set up might be broken. Because it used to work until I installed the latest vagrant and homestead.
Please note that the Homestead issue tracker is reserved for bug reports and enhancements. We are not always able to debug Vagrant, Provider or Operating System issues, but will do our best to help. Thank you!
Versions
Host operating system
Windows 10
Homestead.yaml
Having issues enabling xdebug I have done the
sudo nano /etc/php/7.4/fpm/conf.d/20-xdebug.ini
in my application did
`phpinfo();
xdebug is not enabled.I tried
sudo phpenmod xdebug
and thenphp -v
and xdebug still not enabled.I downloaded old school xampp and then in ther php.ini file, enabled xdebug and it does show. So I am thinking what am I doing wrong?