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

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

xdebug.remote_host = localhost
user3865525
  • 111
  • 1
  • 4

2 Answers2

3

In case xdebug.remote_autostart is enabled, disabling it with

xdebug.remote_autostart = 0

did the trick for me.

Shreddi
  • 31
  • 3
  • 2
    And if you need to debug PHP code (using XDebug), how do you start it (without re-editing the php.ini file)? – Bliss Dec 29 '20 at 13:56
-1

disabling xdebug from the wamp php extension worked for me.

php > extensions > php_xdebug 2.8.0