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..
Is there already a easy way to use the xdebug profiler with the docker/sdk? I tried adding this to m
Is there already a easy way to use the xdebug profiler with the docker/sdk? I tried adding this to my deploy.development.yml
:
php: ini: "xdebug.mode": profile
But looks like the problem is, that the xdebug.mode
is hardcoded here. I was also not able to manage getting tideways up and running locally.
Comments
-
Hi Alfred,
What version of docker/sdk do you use?
0 -
Probably the order of ini files is wrong. Please run the following to figure out how they are read. Thanks.
php -ini
0 -
Looks like this is the problem:
Configuration File (php.ini) Path: /usr/local/etc/php Loaded Configuration File: /usr/local/etc/php/php.ini Scan for additional .ini files in: :/usr/local/etc/php/debug.conf.d Additional .ini files parsed: /usr/local/etc/php/conf.d/90-blackfire.ini, /usr/local/etc/php/conf.d/90-opcache.ini, /usr/local/etc/php/conf.d/91-opcache-dev.ini, /usr/local/etc/php/conf.d/92-session.ini, /usr/local/etc/php/conf.d/99-from-deploy-yaml-php.ini, /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini, /usr/local/etc/php/conf.d/docker-php-ext-bcmath.ini, /usr/local/etc/php/conf.d/docker-php-ext-bz2.ini, /usr/local/etc/php/conf.d/docker-php-ext-exif.ini, /usr/local/etc/php/conf.d/docker-php-ext-gd.ini, /usr/local/etc/php/conf.d/docker-php-ext-gmp.ini, /usr/local/etc/php/conf.d/docker-php-ext-intl.ini, /usr/local/etc/php/conf.d/docker-php-ext-mongodb.ini, /usr/local/etc/php/conf.d/docker-php-ext-mysqli.ini, /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini, /usr/local/etc/php/conf.d/docker-php-ext-pcntl.ini, /usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini, /usr/local/etc/php/conf.d/docker-php-ext-pdo_pgsql.ini, /usr/local/etc/php/conf.d/docker-php-ext-pgsql.ini, /usr/local/etc/php/conf.d/docker-php-ext-redis.ini, /usr/local/etc/php/conf.d/docker-php-ext-soap.ini, /usr/local/etc/php/conf.d/docker-php-ext-sockets.ini, /usr/local/etc/php/conf.d/docker-php-ext-sodium.ini, /usr/local/etc/php/conf.d/docker-php-ext-zip.ini, /usr/local/etc/php/debug.conf.d/69-xdebug.ini, /usr/local/etc/php/debug.conf.d/92-opcache.ini
I executed
docker/sdk cli -x php --ini | xclip -sel clip
and pasted that here.0 -
It seems we need to copy 99-from-deploy-yaml-php.ini in debug.conf.d
0 -
I'm on
6d2a1c5ff0d712d32c15ac2c4e505351113c7c74
btw0
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