Skip to main content

Command Palette

Search for a command to run...

Debuging Laravel Sail Projects

Updated
1 min read
Debuging Laravel Sail Projects
V

A senior PHP + JavaScript + MySql developer of large-scale websites & backends and entrepreneur living in Vilnius, Lithuania with my wife Monika and my parrot Johnny.

Very good at project management and communication, too.

I’m here to create stuff that is useful to other people. Let's keep in touch!

  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.
Debuging Laravel Sail Projects