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 team, I new here in Spryker, I have done the installation with Docker in Windows, and I want t
Hello team, I new here in Spryker, I have done the installation with Docker in Windows, and I want to make the debugger working inside the phpStorm. I followed https://docs.spryker.com/docs/scos/dev/the-docker-sdk/202212.0/configuring-debugging-in-docker.html#troubleshooting-the-de[…]nfiguration-in-phpstorm but still nothing. What might be missing?
Comments
-
this is my config
[XDebug] xdebug.client_host=${XDEBUG_CLIENT_HOST} xdebug.mode=develop,debug,coverage xdebug.start_with_request=trigger xdebug.output_dir="/var/www/spryker/releases/current/data/xdebug" xdebug.max_nesting_level=1000%
0 -
Hello Julian, you have nothing change in CLI intepreter. Just those things.
0 -
What you mean? for using in cli I export the stuff in console
0 -
export PHP_IDE_CONFIG="serverName=Spryker" export XDEBUG_SESSION="PHPSTORM" export XDEBUG_MODE=debug
0 -
I have the same xDebug setup
0 -
php web pages? you need php remote debug
0 -
But nothing happens!
0 -
server name and ide key u pass correct?
0 -
Here is active
0 -
Just changed that. Still the same
0 -
Here are the pathMappings
0 -
Sorry, but something I cannot figure it out!
0 -
I've got the same Problem: IDE in windows and the same configuration.
In Spryker, the phpinfo is like this and missing the IDE-Key 😶
0 -
Have you found a way in order to fix it?
0 -
No 😞
0 -
So the Spryker documentation is just for Vanilla installation 😕
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
Maybe your windows is not properly detected. - Can you try to apply that change in your docker-sdk? https://github.com/spryker/docker-sdk/pull/341/files
- remove that block https://github.com/spryker-shop/b2b-demo-shop/blob/master/deploy.dev.yml#L246 (docker-sync) and add windows to the “native” sync mode.
Then rerun
docker/sdk bootstrap deploy.dev.yml && docker/sdk up
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
The goal is that the remote-host is properly detected as
host.docker.internal
- what is your current remote host with the standard settings?0 -
@florian.scholz nothing specific, I am just reading the documentation and training. So I am playing with the default setup
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
can you look into your phpinfo and tell me what is your value of $_SERVER[‘SPRYKER_XDEBUG_HOST_IP’] ?
0 -
@florian.scholz, when i do the changes, i get permission errors to write during bootstrapping
and in the variable: $_SERVER['SPRYKER_XDEBUG_HOST_IP']172.25.10.171
0 -
172.20.48.14 here is mine
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
so as far as i know it should be host.docker.internal if all is correct. (i am on a mac so I can not validate)
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
“i get permission errors to write during bootstrapping” - this is strange, can you post the exact changes you did here?
0 -
Our current is Windows with WSL Ubuntu and Docker
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
WSL1 or WSL2 ?
0 -
These are the changes
0 -
and WSL2
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
for @U04HZ4BLVMM to check if WSL2 or WSL1: https://askubuntu.com/questions/1177729/wsl-am-i-running-version-1-or-version-2
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
@U012PCVT2DB it seems to be correct. What is the exception message? Can you paste a screenshot?
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