I've found many articles, and posts about this, even on stackexchange sites, I'd just like want to be sure, is it the max, what I can get from xDebug.
My scenario:
I am developing a wordpress site on localhost. Every time, when xDebug is on, when I want to load a page, the server response is 7-8 seconds. You can imagine, how frustrating it is, when you develop, and you need to reload your pages a lot of times.
If I am turn it off, (comment out from php.ini) it goes down to 1-2 seconds.
Do you see anything, what I did set badly in my configuration? If no, can you suggest me any settings what improve the speed of the server response time?
If it could be 3-4 sec, a server response with xDebug, that could be lovely. Thanks.
My environment is:
Machine
- IBM Thinkpad T410 i5 CPU 2.40Ghz
- 8GB RAM
- 64 Bit
- Windows 7 Ultimate 64bit SP1
Softwares
- Apache/2.4.2 (Win64) OpenSSL/1.0.1c
- PHP Version 5.6.5 x64
- 10.0.16-MariaDB (MySql fork)
My xDebug configuration:
- zend.enable_gc = On
- report_zend_debug = 0
output_buffering = Off
zend_extension = D:\PHP\ext\php_xdebug-2.2.7-5.6-vc11-x86_64.dll
- xdebug.remote_enable=1
- xdebug.remote_host=127.0.0.1
- xdebug.remote_autostart = 0
- xdebug.remote_connect_back = 0
- xdebug.profiler_enable = 0
- xdebug.remote_mode=req
- xdebug.remote_port=9000
- xdebug.remote_handler=dbgp
- xdebug.overload_var_dump = 1;
- xdebug.cli_color = 2
- xdebug.show_exception_trace=1
- xdebug.auto_trace=1
- xdebug.var_display_max_children = -1
- xdebug.var_display_max_data = -1
- xdebug.var_display_max_depth = -1