How to Install and Uninstall php7.2-xdebug Package on Debian 11 (Bullseye)

Last updated: July 05,2024

1. Install "php7.2-xdebug" package

This is a short guide on how to install php7.2-xdebug on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.2-xdebug

2. Uninstall "php7.2-xdebug" package

Here is a brief guide to show you how to uninstall php7.2-xdebug on Debian 11 (Bullseye):

$ sudo apt remove php7.2-xdebug $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-xdebug package on Debian 11 (Bullseye)

Package: php7.2-xdebug
Source: xdebug
Version: 3.1.5+2.9.8+2.8.1+2.5.5-1+0~20220625.46+debian11~1.gbp6966da
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 1977
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php7.2-common, phpapi-20170718, libc6 (>= 2.29)
Breaks: php-xdebug (<< 3.1.5+2.9.8+2.8.1+2.5.5-1+0~20220625.46+debian11~1.gbp6966da~)
Replaces: php-xdebug (<< 3.1.5+2.9.8+2.8.1+2.5.5-1+0~20220625.46+debian11~1.gbp6966da~)
Provides: php-xdebug
Homepage: https://xdebug.org/
Priority: optional
Section: php
Filename: pool/main/x/xdebug/php7.2-xdebug_3.1.5+2.9.8+2.8.1+2.5.5-1+0~20220625.46+debian11~1.gbp6966da_amd64.deb
Size: 523152
SHA256: e5b3aa1cad1e10dd595f5fcc70998c6e724c2edb6a902afa4f4c63c7ec230bdf
SHA1: 53d3d1ea7e11b7a20eb7aafa932e29b245cb320d
MD5sum: 92cd5e1f37ca4fb89bb75c15c825160e
Description: Xdebug Module for PHP
The Xdebug extension helps you debugging your script by providing a lot of
valuable debug information. The debug information that Xdebug can provide
includes the following:
.
* stack traces and function traces in error messages with:
- full parameter display for user defined functions
- function name, file name and line indications
- support for member functions
* memory allocation
* protection for infinite recursions
.
Xdebug also provides:
.
* profiling information for PHP scripts
* script execution analysis
* capabilities to debug your scripts interactively with a debug client
Description-md5: 0f0798e7431f8c626ceea9d500b3e977