-- Laravel dependencies php 7 sudo apt-get install php7.0-cli php7.0-mbstring php-xml php7.0-sqlite3 php7.0-pgsql php7.0-mysql php-xdebug
--Laravel php5 sudo apt-get install php5-cli php5-pgsql php5-mysql php5-sqlite php5-xdebug
Configurar o xdebug.ini
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9000
xdebug.idekey=xdebug.atom
xdebug.remote_autostart=true
Para debugar utilizar p php -S localhost:8000 na pasta public do projeto Laravel.