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.

đź‘‹ Kindness is contagious

Please leave your appreciation by commenting on this post!

It takes one minute and is worth it for your career.

Get started

Thank you! 🙏

Top comments (0)

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

đź‘‹ Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay