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 everyone, anyone install with Docker in Windows and enable XDebug? i got this error in logs "[yve
Hi everyone, anyone install with Docker in Windows and enable XDebug? i got this error in logs "[yves] [yves_eu] - [21-Apr-2021 00:29:09] WARNING: [pool debugger] child 10 said into stderr: "NOTICE: PHP message: Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: host.docker.internal:9003 (through xdebug.client_host/xdebug.client_port) :-(" and i dont know why or how i can fix it
Comments
-
Did you configure PhpStorm or Visual Studio Code to listen to connections on port 9003 and have the listening mode enabled?
0 -
Please change
https://github.com/spryker/docker-sdk/blob/master/context/php/debug/etc/php/debug.conf.d/69-xdebug.ini#L12
and https://github.com/spryker/docker-sdk/blob/master/context/php/debug/etc/php/debug.conf.d/69-xdebug.ini#L20
from${SPRYKER_XDEBUG_HOST_IP}
tohost.docker.internal
.
Thendocker/sdk boot deploy.dev.yml && docker/sdk up
.0 -
@valerii.trots according to his error message it's already configured that way
0 -
You are right, sorry.
0 -
I think this is the default message from XDebug v3 when no client is listening. You can configure XDebug to not log to stdout if you want to suppress this message
0 -
Setting
xdebug.log_level=0
should to the trick
0 -
Thank you all for the answers
0 -
@U01LE4BMBK7 i did this in VS Code, Install PHP Debug Extension and add launch.json with this content
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9003,
"pathMappings": {
"/home/dmorales/spryker-b2c-demo": "${workspaceFolder}",
},
"log": true,
"xdebugSettings": {
"max_data": 65535,
"show_hidden": 1,
"max_children": 100,
"max_depth": 5
}
},
]
}0 -
@U01LE4BMBK7 is that enough?
0 -
@UK5EG6PBM in which file i must put that info?
0 -
/home/dmorales/spryker-b2c-demo
needs to be/data
0 -
@U01UHQE5Z27 this setting needs to go into you ini config file
0 -
In VS Code in the
Run and Debug
section click on the settings icon on the top0 -
your local directory gets mounted in the Docker container at
/data
0 -
ok, i'm gonna test it, thank you both @U01LE4BMBK7 and @UK5EG6PBM
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
- 929 Developer Corner
- 787 Spryker Development
- 89 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