Have setting for Xdebug to select either 'debug' or 'develop' (or both)

What issue or error are you experiencing?


When I want to want to see more informative and better presented errors I often enable Xdebug. The issue is that the site is then becoming very slow.

What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Enable the ‘Xdebug’ option in the Local App for a website

System Details

  • Local Version: 9.2.9

  • Operating System (OS) and OS version: Window 11


Feature request:

Instead of being able to do an ‘On/Off’ toggle for Xdebug, would it be possible to also differentiate between:

  • xdebug.mode=debug, develop
  • xdebug.mode=develop
  • xdebug.mode=debug

Now I have to get into my php.ini for each project to remove the ‘debug’ part, which on my system is a seriously slowing down each request (like in seconds per request instead of couple of hundred of milliseconds)

Thanks,
Ruud

Hi @Ruud! Thank you for bringing this up. I’ve changed your post to a Feature Request for now so that others can vote, comment and follow along. I’ll pass it along to the dev team as well.