DEV Community

mostafalaravel
mostafalaravel

Posted on

Xdebug is installed but impossible to debug in PHPStorm and homestead

Hello ,

let me first introduce my work environment;

I use Vagrant, homestead and Laravel.

I installed the xdebug and when I vagrant ssh and php -v I see this result :

vagrant@homestead:~$ php -v
PHP 7.4.10 (cli) (built: Sep  9 2020 06:36:14) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Xdebug v3.0.0, Copyright (c) 2002-2020, by Derick Rethans
    with Zend OPcache v7.4.10, Copyright (c), by Zend Technologies
vagrant@homestead:~$

Enter fullscreen mode Exit fullscreen mode

also when I phpinfo()

Alt Text

I also installed the Xdebug on my chrome browser

The problem now is how to configure the PHPStrom? because I tried all tutorials and nothing happened !

my current configuration :
Alt TextAlt Text

Thanks.

Oldest comments (0)