I pulled a git repo of the app and got artisan running, pulled down a copy of the database, and I can run the app on my local. What I need to do now is to get xdebug working. I've used MAMP for local development for years, but this is the first time I've tried just using the PHP component with another server.
I have set my default php version to 7.4.21 (since this is an older version of Laravel and is what is used on the production server). I am using phpStorm for an IDE, pointing to my local artisan server. Should this allow me to debug? One thing I noticed is if I add a call to phpinfo() to a page, it shows my php.ini file path as /Applications/MAMP/bin/php/php7.4.21/conf/php.ini which contains:
As I recall, you aren’t supposed to edit the MAMP templates directly, but to edit them through MAMP. I tried that, and the file there has:
But my app isn’t apparently recognizing either of there, since there is no xdebug entry in php.ini — it seems there should be, since it is enabled in the php.ini. If I change theMAMP template, the file /Applications/MAMP/bin/php/php7.4.21/conf/php.ini remains unchanged. Maybe I need to specify something about the ini file's location when I start the artisan server?