Category: Laravel, Laravel, PHP, PHP, nodejs, nodejs

aravel offers some good tools for debugging and for many cases this may be enough — but if it gets choppy, a real debugger is simply unbeatable. In this small article I show how to configure PhpStorm to use xDebug to debug a Laravel app.

TroubleshootingError mkdir(): If your installation fails due to an error like this, you simply need to make the directory which the script could not: Now you can reinstall xdebug and it should work.

Add this lines to ext-xdebug.ini : Double check, that the path behind zend_extension is the path to your xdebug installation: ls /usr/local/opt/php@7.4/pecl/20190902 .

Now expand the PHP Node and go to PHP > Debug > DBGp Proxy and set IDE Key to PHPSTORM and Port to 9001.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners