May 7, 2024
0
Level 5
Debuggin Laravel in PhpStorm
Hi!
What is the most straightforward way to debug a Laravel app in phpstorm? I'm running it like this:
/opt/homebrew/Cellar/php/8.3.0/bin/php -dxdebug.mode=debug -dxdebug.client_port=9003 -dxdebug.client_host=127.0.0.1 /Users/path/to/artisan serve
And PhpStorm seems to ignore my breakpoints.
$ php --version
PHP 8.3.0 (cli) (built: Nov 21 2023 14:40:35) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.0, Copyright (c) Zend Technologies
with Xdebug v3.3.0, Copyright (c) 2002-2023, by Derick Rethans
with Zend OPcache v8.3.0, Copyright (c), by Zend Technologies
Please or to participate in this conversation.