title: How to get specific version of a package with pecl install?
body: <p>Xdebug was updated to version 3 and currently it will be installed in its latest version when I run</p>
  <pre><code>pecl install xdebug
  </code></pre>
  <p>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?</p>
  <p>I tried doing</p>
  <pre><code>pecl install xdebug@2 
  </code></pre>
  <p>and similar approaches.</p>
  <p>How do I list all versions of a package and how do I force installing a specific version with pecl?</p>