I found this page
https://bbqsoftwares.com/blog/xdebug-catalina
that help to install Xdebug in Macosx Catalina, after Apple has changed Xcode installation, the headers of php are in another location. But I cannot save phpize file due to readonly permissions and so I cannot change the headers file location.
And so I cannot make the Xdebug.so.
Any help?