在XAMPP中启用XDebug会降低phpmyadmin的速度

在XAMPP中启用XDebug会降低phpmyadmin的速度,phpmyadmin,xampp,xdebug,Phpmyadmin,Xampp,Xdebug,每当我使用以下标准设置启用xdebug调试php项目时,它都会降低每个操作的phpmyadmin速度。只需打开phpmyadmin就需要近10秒 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:\xamp

每当我使用以下标准设置启用xdebug调试php项目时,它都会降低每个操作的phpmyadmin速度。只需打开phpmyadmin就需要近10秒

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
编辑: 试错。。。这就解决了问题

xdebug.remote_host = localhost

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

xdebug.remote_autostart = 0

为我做了这件事。

从wamp php扩展中禁用xdebug对我很有效


php>extensions>PHPxdebug2.8.0

所以卸载扩展不会减慢它的速度吗?我也有同样的问题,搜索了几天后我发现了这个:)谢谢其他对我有用的修复:
xdebug.profiler\u enable=0
@andrzej1\u谢谢!这解决了解析速度慢的问题,并使我能够保持Xdebug按我希望的方式运行。@andrzej1_1也为我工作。我一直在到处寻找解决办法。谢谢。问题不是如何禁用它。如果需要调试PHP代码(使用XDebug),如何启动它(不重新编辑PHP.ini文件)?