DEV Community


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

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


Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git