Building apps & websites
Need help? Send me a message.
Latest Posts
Debugging PHPUnit with VS Code
Chris Tattum
| ByAdd the following to the CLI php.ini file. Note: this is not the same as the one Apache uses in WAMP/MAMP etc. Also note the use of port 9001 instead of the usual 9000 we use for normal PHP debugging. ...
Continue Reading Debugging on Laravel Homestead using VS Code
Chris Tattum
| ByEdit the Xdebug ini file in your Vagrant Homestead box:- cd /etc/php/7.2/mods-available sudo nano xdebug.ini Make sure the contents look like this:- zend_extension=xdebug.so xdebug.remote_enable = 1 xdebug.remote_connect_back = 1 xdebug.remote_port = 9000 xdebug.idekey = VSCODE xdebug.remote_autostart = 1 xdebug.max_nesting_level = ...
Continue Reading Disabling Xdebug in Laravel Homestead
Chris Tattum
| ByNote, these instructions are for Homestead 7, so may change in future versions. To configure Xdebug and other PHP-FPM modules, you have to go the directory shown below:- cd /etc/php/7.2/mods-available To disable Xdebug, edit the Xdebug ini file:- sudo nano ...
Continue Reading