You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing ddev composer ... while XDebug is enabled, XDebug will debug the composer PHP script. This will lead to the script pausing.
Describe your solution
Composer should be executed with XDebug disabled. This can be achieved by disabling XDebug. One way is to set the environment variable XDEBUG_MODE=off.
Describe alternatives
Disabling XDebug (effectively running ddev xdebug off) before executing the composer command. Then re-enabling XDebug (effectively running ddev xdebug on).
A further extension of the feature could be that XDebug is only disabled for the composer script itself, but not for PHP scripts executed by composer, e.g. still having XDebug enabled when executing the unittests script ddev composer unittests.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is your feature request related to a problem?
When executing
ddev composer ...
while XDebug is enabled, XDebug will debug the composer PHP script. This will lead to the script pausing.Describe your solution
Composer should be executed with XDebug disabled. This can be achieved by disabling XDebug. One way is to set the environment variable
XDEBUG_MODE=off
.Describe alternatives
Disabling XDebug (effectively running
ddev xdebug off
) before executing the composer command. Then re-enabling XDebug (effectively runningddev xdebug on
).A further extension of the feature could be that XDebug is only disabled for the composer script itself, but not for PHP scripts executed by composer, e.g. still having XDebug enabled when executing the unittests script
ddev composer unittests
.Additional context
No response
The text was updated successfully, but these errors were encountered: