Debugging Setup in Docker

Running Spryker containers with Xdebug enabled

Run containers:

docker/sdk up -x

If containers are already running, the fastest option is to run docker/sdk run -x .

Configuring Xdebug in PhpStorm

Required Configuration

Optional Configuration

Debugging with Xdebug

To use Xdebug to debug an application, do the following:

  1. Make a breakpoint:
  2. Click

  3. Open the application in browser.

  4. Navigate to the action for which you configured the breakpoint in step 1. The debugging process should be running in the IDE:

Last review date: Aug 06, 2019