在 XAMPP 中启用 XDebug 会减慢 phpmyadmin

2023-10-11php开发问题
3

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

问题描述

每当我启用 xdebug 以使用以下标准设置调试我的 php 项目时,它会减慢 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:xamppphpextphp_xdebug.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:xampp	mp"
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	mp"
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

将 PHPMailer 用于 SMTP 的问题
Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)...
2024-08-23 php开发问题
4

无法连接到 SMTP 服务器
Unable to connect to SMTP server(无法连接到 SMTP 服务器)...
2024-08-23 php开发问题
18

如何使用 XAMPP 使用 Google SMTP 服务器发送电子邮件?
How To Send Emails Using Google SMTP Server Using XAMPP?(如何使用 XAMPP 使用 Google SMTP 服务器发送电子邮件?)...
2024-08-23 php开发问题
7

PHP SMTP邮件功能不适用于phpmailer
PHP SMTP mail function not working with phpmailer(PHP SMTP邮件功能不适用于phpmailer)...
2024-08-23 php开发问题
8

致命错误:找不到类“Swift_smtpTransport"
Fatal error: Class #39;Swift_smtpTransport#39; not found in(致命错误:找不到类“Swift_smtpTransport)...
2024-08-23 php开发问题
10

PHP mail() 函数返回 true,但不发送邮件
PHP mail() function returns true, but doesn#39;t send mail(PHP mail() 函数返回 true,但不发送邮件)...
2024-08-23 php开发问题
5