
Here, I am using php 7.4, you can use your respective php version’s php.ini file. Here you can see a few folders, find the folder which contains the xdebug.so file. The package is now ready to use but we need to do a few more configurations in the php.ini file but first check your path of the file named xdebug.so ( it will be at your zend_Extension path ) usr/local/etc/php/xdebug/modules/xdebug.so The package is now installed and located at :

Let's get started by doing some code pieces of stuff. By combining a few blogs and spending a few hours on several forums, I came up with this text. Recently I started working on MacBook, and I needed to set up a local debugging environment? Since there aren’t many tutorials on how to do it, I’ve encountered some problems on how to get the setup up and running.
