Enabling XDebug in XAMPP slows down phpmyadmin

喜夏-厌秋 提交于 2019-12-18 02:48:58

问题


whenever i enable xdebug for debugging my php-projects with the following standard settings, it slows down phpmyadmin on every single action. just opening phpmyadmin takes nearly 10 seconds.

zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = on
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "C:\xampp\tmp"
xdebug.remote_port = 9000

EDIT: Trial and Error... this solved the problem

xdebug.remote_host = localhost

回答1:


In case xdebug.remote_autostart is enabled, disabling it with

xdebug.remote_autostart = 0

did the trick for me.



来源:https://stackoverflow.com/questions/24893010/enabling-xdebug-in-xampp-slows-down-phpmyadmin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!