在XAMPP中启用XDebug会减慢phpmyadmin [英] Enabling XDebug in XAMPP slows down phpmyadmin

查看:96
本文介绍了在XAMPP中启用XDebug会减慢phpmyadmin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我启用xdebug来使用以下标准设置调试我的php-projects时,它都会降低每次执行phpmyadmin的速度.只需打开phpmyadmin就会花费将近10秒钟.

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

试用与错误...这解决了问题

Trial and Error... this solved the problem

xdebug.remote_host = localhost

推荐答案

如果启用了xdebug.remote_autostart,请使用

In case xdebug.remote_autostart is enabled, disabling it with

xdebug.remote_autostart = 0

是我的把戏.

这篇关于在XAMPP中启用XDebug会减慢phpmyadmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆