This repository was archived by the owner on May 21, 2025. It is now read-only.

Description
Description
I am trying to switch XDebug mode from develop,debug to profile. I've tried setting XDEBUG_CONFIG with mode=profile but when I checked php info, it was still showing develop,debug.
I got it to work locally by getting into the running instance as root, and modifying /usr/local/etc/php/conf.d/craft-cms-xdebug.ini directly and restarting the instance, but I am sure there is a better way of switching between XDebug modes.
Thanks!