Xdebug not working
Hi everyone,
I'm experiencing an issue with Xdebug on my system. I'm unable to make it running.
I configured everything following the steps described here:
https://docs.spryker.com/docs/dg/dev/set-up-spryker-locally/configure-after-installing/configure-debugging/configure-debugging.html
Since it was not working out of the box, I followed this advice:
https://docs.spryker.com/docs/dg/dev/troubleshooting/troubleshooting-docker-issues/troubleshooting-debugging-in-docker/xdebug-does-not-work.html#description
and executed
docker/sdk cli -x
followed by
nc -zv ${SPRYKER_XDEBUG_HOST_IP} 9000
(when running the given command at once "docker/sdk cli -x bash -c 'nc -zv ${SPRYKER_XDEBUG_HOST_IP} 9000'" I only got a usage hint from nc).
After a while I got this response:
nc: connect to 192.168.43.24 port 9000 (tcp) failed: Operation timed out
Do you have any hints for me how to proceed?
Thanks in advance
David
Comments
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
Heyhey @David Wischner ,
to help you out here, can you please give us more information of your setup:
OS, docker desktop or sth else? latest docker-sdk version? etc
All the best,Florian
0 -
Hey @fsmeier, thanks for the quick response.
OS: Ubuntu 24.04 LTS
Docker version 27.0.3, build 7d4bcd8 (if I remember correctly I did not use docker-desktop for setting things up but not 100% certain here)
latest docker/sdk (1.61.0)
I tried setting up Xdebug for a customer project as well as a plain b2b-demoshop.0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 927 Developer Corner
- 785 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 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
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random