My situation. I have local site with magento on Open Server, I'm working with Sublime Text 3. Now I'm need to use xdebug (if there is some alternative with breakpoints and ties with IDE, I'm open). The fact is, then xdebug is enabled, site is very slow. Is there any fast configuration for xdebug, to save breakpoint feature, and save the speed of work?
1 Answer
No.
If you just want to profile, try xhprof, but any debugging system will have a massive impact on performance.
- Thanks for answer. How massive should be upgrade of my PC to work with xdebug in normal temp (at least 5-10 sec for page to load)? Should I consider in expanding my RAM or CPU? Now I have 8 GB of RAM and i5-4430 3 GHz CPU. I don't need exact numbers, just as much, as you may consider will be useful.mr4eshir– mr4eshir2015-05-05 11:00:31 +00:00Commented May 5, 2015 at 11:00
- You should only run xdebug when debugging and not on a production machine. As to how to make it go faster - that's a much more complicated question. But adding more memory or additional CPUs of the same spec is unlikely to have much impact. Beyond that.....its impossible to say what might help without a lot of measurement and analysis (see also lampe2e.blogspot.co.uk )symcbean– symcbean2015-05-05 11:59:45 +00:00Commented May 5, 2015 at 11:59
- Um... I think I get you in misunderstanding. I'm not installing xdebug on prod site, i'm using it for local environment.mr4eshir– mr4eshir2015-05-06 11:08:32 +00:00Commented May 6, 2015 at 11:08