How to Install and Uninstall php7.2-xdebug Package on Debian 12 (Bookworm)

Last updated: November 22,2024

1. Install "php7.2-xdebug" package

In this section, we are going to explain the necessary steps to install php7.2-xdebug on Debian 12 (Bookworm)

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

2. Uninstall "php7.2-xdebug" package

Please follow the guidance below to uninstall php7.2-xdebug on Debian 12 (Bookworm):

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

3. Information about the php7.2-xdebug package on Debian 12 (Bookworm)

Package: php7.2-xdebug
Source: xdebug-3-1
Version: 1:3.1.6-1+0~20230831.4+debian12~1.gbp738351
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 1697
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php7.2-common, phpapi-20170718, libc6 (>= 2.33)
Breaks: php-xdebug (<< 1:3.1.6-1+0~20230831.4+debian12~1.gbp738351~)
Replaces: php-xdebug (<< 1:3.1.6-1+0~20230831.4+debian12~1.gbp738351~)
Provides: php-xdebug
Homepage: https://xdebug.org/
Priority: optional
Section: php
Filename: pool/main/x/xdebug-3-1/php7.2-xdebug_3.1.6-1+0~20230831.4+debian12~1.gbp738351_amd64.deb
Size: 528668
SHA256: 633f4a28518d3ca49fc887ad87add27497e2d3a60a93f26f599dbe42688c2a88
SHA1: 9408b8d88b01d8cfee4147b5a5e45a1de7518129
MD5sum: f55430d28016e0d90a7d4ab5e84d3364
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