Laravel Valet enable xdebug with PHPStorm

//Laravel Valet enable xdebug with PHPStorm

https://murze.be/2017/01/xdebug-with-laravel-valet/

 

Extra Note:

  1. Once you have upgraded new version of PHP, E.g PHP7.0 to PHP7.1. Remember install the xdebug package again.
  2. brew install php71-xdebug
  3. open file /usr/local/etc/php/7.1/conf.d/ext-xdebug.ini
  4. Added the following line after the zend_extension="/usr/local/opt/php71-xdebug/xdebug.so"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp

Last step run valet install to restart everything.

By |2017-08-30T12:35:55+00:00August 8th, 2017|Computers and Internet|0 Comments

Leave A Comment