PHP `xdebug` extension is not active when accessing the website via a browser or curl

Edit on GitHub

Description

PHP xdebug extension is not active when accessing the website via a browser or curl.

Solution

Try the following:

  • Set the XDEBUG_SESSION=spryker cookie for the request. You can use a browser extension like Xdebug helper.

  • Run the following command to switch all applications to debug mode:

    docker/sdk run -x