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.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post