lorisleiva / laravel-docker

🐳 Generic docker image for Laravel Applications
MIT License
927 stars 312 forks source link

Disabling Xdebug #128

Closed Balakir closed 1 year ago

Balakir commented 1 year ago

Is it possible to pass in any configuration option to disable Xdebug?

Balakir commented 1 year ago

Achieved this by adding "RUN rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini" into our dockerfille.

The same thing can be added to the before_script if using directly in the gitlab-ci.yml file