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..
Hello, I can't run XDebug using Windows, Docker and PHPStorm. Things i've done: β’ running spryker wi

Hello,
I can't run XDebug using Windows, Docker and PHPStorm.
Things i've done:
β’ running spryker with "x" flag
β’ sending PHPSTORM cookie via browser (Xdebug helper extension)
β’ pulling docker-sdk to the current version
β’ setting PHPStorm like screens below
β’ setting breakpoint in 1st line of controller action (breaking at 1st line doesn't work either)
β’ opening Zed or Yves app and XDebug is doing nothing
Have you any ideas what should I check or set more?
Comments
-
Hello Εukasz, in
docker/context/php/debug/etc/php/debug.conf.d/69-xdebug.ini
please try to changexdebug.remote_host=host.docker.internal
.0 -
After that
docker/sdk boot deploy.dev.ym
(or what deploy file you are using) and up again.0 -
I've changed it and it didn't help π
0 -
How do you run docker? Wsl1\2?
0 -
wsl2
0 -
Internally our developers faced IP issue:
If everything seems to be right but debugging in phpstorm ist not working try this: First check your machines IP addresses by opening a Power Shell console and enter βipconfigβ and check the available network adapters and their IPs. Edit docker/deployment/default/bin/environment/docker.sh and find the line local myIp='host.docker.internal change the host there to your IP address. If you have multiple network adapters you might need to try each IP until it works. Edit docker/bin/environment/docker.sh as well in the same way Run docker/sdk stop and then run docker/sdk up To be sure restart phpstorm Run docker/sdk cli -x then run inside of it console - phpstorm should now show work with the breakpoints
0 -
in docker/context/php/debug/etc/php/debug.conf.d/69-xdebug.ini
I set xdebug.client_host=host.docker.internal
and it started working
thanks for your help!0 -
Right, it's because of xdebug v3 has different settings...
0 -
Christian von Schassen Director Partner Succcess Management Sprykee Posts: 33 π§π»βπ - Cadet
@U010DNAA3QW & @U01LLUGR1F0 Maybe that helps you too?
0 -
We're already looking into that π
0 -
Sorry didn't help. Also no new info here π.
I already tried all this. Also tried it again. Still no luck.0 -
Christian von Schassen Director Partner Succcess Management Sprykee Posts: 33 π§π»βπ - Cadet
Too bad @U01LLUGR1F0 π In this case I suggest to raise an official support case at support.spryker.com
0 -
@UJLM6CAFR I went through all of the instructions again, after changing the config over and over again and noticed, that my config said xdebug.remote_host instead of xdebug.*client*_host.
That finally did the trick, but I'm sure I already had it the right way, but something about windows defender a different way, why it propably didn't work.So it seems I finally got it to work. Thank you.
0 -
Christian von Schassen Director Partner Succcess Management Sprykee Posts: 33 π§π»βπ - Cadet
That's awesome, so glad to hear that @U01LLUGR1F0!
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 80 Spryker News
- 954 Developer Corner
- 810 Spryker Development
- 91 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 36 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 27 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random