-
Install the xdebug chrome extension and turn it on by clicking on it and clicking on debug: https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc
-
Type the following into your terminal (This will return the location of the php ini file being used, once you have the path you will need to open the file - also note the php version being used, this will be important later):
php --ini
- Find xdebug in the php.ini file and add the following (if the zend_extension line has a semi colon ";" remove it):