Support the ongoing development of Laravel.io →
posted 3 years ago
Laravel Sail

Hi,

Xdebug doesn't work for me. Could not connect to debugging client.

  • Sail Version: 1.13.1
  • Laravel Version: 8.82.0
  • PHP Version: 8.1.1
  • OS: macOS 12.2

Steps To Reproduce:

  1. Add to the .env file:
SAIL_XDEBUG_MODE=develop,debug
  1. Rebuild application's containers

  2. Run an Artisan command with Xdebug

sail debug migrate

and...

Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (through xdebug.client_host/xdebug.client

Regards! :)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.