Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi there Dear Team, I am writing to report an issue with configuring Xdebug in my

U045KD44L7L Posts: 55 🧑🏻‍🚀 - Cadet

Hi there
Dear Team,
I am writing to report an issue with configuring Xdebug in my b2c-demo-shop. I have followed the steps below:

  1. Cloned the b2c-demo-shop using the following URL: git clone -b 202212.0 --single-branch ./b2c-demo-shop

  2. Navigated to the cloned folder: cd b2c-demo-shop

  3. Cloned the SDK repository: git clone --single-branch docker

  4. Added my user to the docker group: sudo usermod -aG docker $ashu

  5. Bootstrapped local docker setup: docker/sdk bootstrap

  6. Opened the host file using the following steps and pasted the code we got in Step 4:

  • Opened the Start menu.
  • In the search field, entered Notepad.
  • Right-clicked Notepad and selected Run as administrator.
  • In the User Account Control window, selected Yes to confirm the action.
  • In the upper navigation panel, selected File > Open.
  • Put the following path into the address line: C:\Windows\System32\drivers\etc.
  • In the File name line, entered hosts and selected Open. The hosts file opened in the drop-down.

  • Open the host file and update it with the following data: mail.spryker.local queue.spryker.local redis-commander.spryker.local scheduler.spryker.local spryker.local swagger.spryker.local

Added by Docker Desktop host.docker.internal gateway.docker.internal

To allow the same kube context to work on the host and the container: kubernetes.docker.internal

End of section

  • Built and started the instance using the following command: docker/sdk up

Task 2
Now, I am trying to configure Xdebug using the following steps:

  1. Run the following command anywhere in the folder with "sudo": sudo apt-get install php-xdebug

  2. Went to the following location: cd docker/context/php/debug/etc/php/debug.conf.d

  3. Edited the Xdebug Configuration file using vim command: sudo vim xdebug.ini

  4. Pressed the "i" button to insert(write) and pasted the following line in the "xdebug.ini" file:


  1. Pressed "Esc" then ":wq!" Enter

  2. Verified that Xdebug is installed and configured by running the following command: php -v

  3. the last command i used docker/sdk up
    and it gives error :

<3>WSL (10561) ERROR: UtilAcceptVsock:248: accept4 failed 110
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: ``

Kindly assist me with resolving this issue.

Thank you in advance for your help.