Xdebug was updated to version 3 and currently it will be installed in its latest version when I run
pecl install xdebug
This broke a Dockerfile and an XDebug setup. While I plan to upgrade to xdebug@3 in the long run, I want for now to force installing xdebug 2.9. How can I achieve that?
I tried doing
pecl install xdebug@2
and similar approaches.
How do I list all versions of a package and how do I force installing a specific version with pecl?