Instructions to disable XDEBUG appear out of date

Issue Summary

Trying everything to get Local to be functional on Windows 10 instead of 25-30 second page loads, I followed the instructions at How can I disable the Xdebug PHP extension? - FAQ - Local Community

wrapping the xdebug code of my conf/php-8.0.0\php.ini.hbs file like so:

zend_extension = php_xdebug.dll
zend_extension = {{extensionsDir}}/


Then I restart the site and view the PHP Info… xdebug is still there.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

Have only tried this with the single site.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?



Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

System Details

  • Which version of Local is being used?


  • What Operating System (OS) and OS version is being used?
    Windows 10 Homelocal-lightning.log (91.8 KB)

  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

If you delete that block instead of comment it out, what happens? Be sure to backup to the file just in case you need to revert those changes.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.