Vlad Osmianski
Vlad Osmianski's Blog

Follow

Vlad Osmianski's Blog

Follow
Debuging Laravel Sail Projects

Photo by Ben Griffiths on Unsplash

Debuging Laravel Sail Projects

Vlad Osmianski's photo
Vlad Osmianski
·Oct 19, 2022·

1 min read

  1. Add to .env:

     SAIL_XDEBUG_MODE=develop,debug,coverage
    
  2. Restart sail up.

  3. In PHPStorm, add mapping in Settings → PHP → Servers → 0.0.0.0 to /var/www/html.
 
Share this