This is a duplicate of this post, but since it’s so old I decided to make a new one.
XDebug should be available in the preferred environment. Many developers such as myself use xdebug to breakpoint code on their local machine. This becomes impossible to do because the preferred environment for local doesn’t include xdebug.
Well some might say just switch to a custom environment to debug your code then. Well that is also a problem, because you CAN NOT push to flywheel if your site uses a custom environment.
So I hope someone here can see how this is a problem. Local sites should maybe not come with xdebug enabled by default on preferred sites, but it should defiantly be an option that you can turn on if you should need it.