Vagrant 在主要流浪者上禁用XDebug

Vagrant 在主要流浪者上禁用XDebug,vagrant,puppet,xdebug,Vagrant,Puppet,Xdebug,是否有任何简单/正确的方法来禁用机箱中的Xdebug 我尝试在/manifests/custom/php.pp puppet文件中设置,但没有成功。同样,在/manifests/init.pp中注释xdebug行也没有运气 还有其他建议吗?找到:“xdebug.ini” /etc/php/7.0/cli/conf.d/20-xdebug.ini /etc/php/7.0/fpm/conf.d/20-xdebug.ini /etc/php/mods-available/xdebug.ini 然后

是否有任何简单/正确的方法来禁用机箱中的Xdebug

我尝试在/manifests/custom/php.pp puppet文件中设置,但没有成功。同样,在/manifests/init.pp中注释xdebug行也没有运气

还有其他建议吗?

找到:“xdebug.ini”

/etc/php/7.0/cli/conf.d/20-xdebug.ini
/etc/php/7.0/fpm/conf.d/20-xdebug.ini
/etc/php/mods-available/xdebug.ini
然后用“;”注释

;zend_extension=xdebug.so
然后重新启动nginx服务器

sudo service nginx restart
查找:“xdebug.ini”

/etc/php/7.0/cli/conf.d/20-xdebug.ini
/etc/php/7.0/fpm/conf.d/20-xdebug.ini
/etc/php/mods-available/xdebug.ini
然后用“;”注释

;zend_extension=xdebug.so
然后重新启动nginx服务器

sudo service nginx restart
查找:“xdebug.ini”

/etc/php/7.0/cli/conf.d/20-xdebug.ini
/etc/php/7.0/fpm/conf.d/20-xdebug.ini
/etc/php/mods-available/xdebug.ini
然后用“;”注释

;zend_extension=xdebug.so
然后重新启动nginx服务器

sudo service nginx restart
查找:“xdebug.ini”

/etc/php/7.0/cli/conf.d/20-xdebug.ini
/etc/php/7.0/fpm/conf.d/20-xdebug.ini
/etc/php/mods-available/xdebug.ini
然后用“;”注释

;zend_extension=xdebug.so
然后重新启动nginx服务器

sudo service nginx restart