rgranadino / mage2_vagrant

Simple Magento 2 Vagrant Box
249 stars 68 forks source link

Xdebug - This has a major impact on runtime performance #49

Open comunidademagento opened 8 years ago

comunidademagento commented 8 years ago

Hello,

First, congratulations for this box vagrant.

See images.

The process to try install or uninstall is very slow.

Presented this message ...

You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug

https://getcomposer.org/doc/articles/troubleshooting.md#xdebug-impact-on-composer

We did not find any reference "xdebug" in file /etc/php5/cli/php.ini to disable

captura de tela de 2015-11-24 14-43-27

captura de tela de 2015-11-24 14-47-13

bencorlett commented 8 years ago

Being a development box, this is probably something that you could wear?

rgranadino commented 8 years ago

We do have the following in the mage.pp manifest:

file { '/etc/php5/cli/conf.d/21-xdebug.ini':
  source  => '/vagrant/files/xdebug.ini',
  require => Package['php5-cli', 'php5-xdebug']
}

Removing that and having it unlinking the 20-xdebug.ini in /etc/php5/cli/conf.d that would remove xdebug from CLI but as @bencorlett mentioned since it's a dev box it might be better to err on the side of having it vs not...Decisions.