@@ -39,27 +39,19 @@ dump the full execution of your script to a file, and more.
3939Requirements
4040------------
4141
42- Xdebug requires a `supported version <https://www.php.net/supported-versions.php >`_ of PHP. For
43- installation it requires the `pecl ` tool (available through the ` php-pear `
44- package), unless your Linux distribution has an Xdebug package (` php-xdebug `).
42+ Xdebug requires a `supported version <https://www.php.net/supported-versions.php >`_
43+ of PHP. For installation it requires the `` pie `` tool, unless your Linux
44+ distribution has an Xdebug package (most often: `` php-xdebug ` `).
4545
4646Installation
4747------------
4848
49- On most Linux distributions you can install Xdebug through its package
50- manager. You can also compile from source with the `pecl ` tool through `pecl
51- install xdebug `. The latter also works for MacOS as long as PHP is installed
52- with Homebrew.
49+ On most Linux distributions you can install Xdebug through `their package
50+ manager <https://xdebug.org/docs/install#linux> `_.
5351
54- On Windows, you need to `download <https://xdebug.org/download#releases >`_ a
55- binary. Use the `Wizard <https://xdebug.org/wizard >`_.
56-
57- Unless you have installed Xdebug with a package manager on Linux, you also
58- need to add the following line to your `php.ini ` file, or create a new Xdebug
59- specific ini file `xdebug.ini ` in the `conf.d ` directory. In either case, it
60- needs the following line added::
61-
62- zend_extension=xdebug
52+ You can also install Xdebug on Linux, macOS, and Windows, with the
53+ `PIE <https://github.com/php/pie?tab=readme-ov-file#using-pie---what-do-i-need-to-get-started >`_
54+ installer through ``pie install xdebug/xdebug ``.
6355
6456For more extensive installation instructions, see the documentation at
6557https://xdebug.org/docs/install
0 commit comments