Skip to content

Instantly share code, notes, and snippets.

1) Find your php.ini php -i | grep 'php.ini' or phpinfo();
2) Add the following lines to php.ini (remember you can have multiple depending on your setup)
xdebug.mode = debug
xdebug.start_With_request = yes
xdebug.client_port = 9003
xdebug.client_host = 127.0.0.1