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:

{{!--
[xdebug]
{{#if os.windows}}
zend_extension = php_xdebug.dll
{{else}}
zend_extension = {{extensionsDir}}/xdebug.so
{{/if}}

xdebug.mode=debug
xdebug.client_port="9000"
xdebug.start_with_request=yes
xdebug.discover_client_host=yes
--}}

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?

Unsure.

Replication

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?

5.10.4+5377

  • 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.