Login
You're viewing the phpc.social public feed.
  • Oct 8, 2026, 3:44 PM

    @ianh And I've never gotten web requests into a docker container to work properly, ever. Only PHPUnit tests.

    💬 1🔄 0⭐ 0

Replies

  • Ian.Hianh
    Oct 8, 2026, 4:07 PM

    @Crell Web requests as in xdebug breakpoints? If so, have you configured the IDE config in your docker (compose) setup? eg:

    environment:
    XDEBUG_CONFIG: "client_host=host.docker.internal"
    PHP_IDE_CONFIG: "serverName=webhooks"

    And in PHPStorm, I configure the same in the 'servers' setup. The 'serverName' MUST match the name configured in PhpStorm's server 'name' field.

    Again.. hoping I'm not preaching to the choir here, but this setup works for me. The path mapping MUST also match.

    PhpStorm server setup
    💬 0🔄 0⭐ 0