How to Install and Uninstall php8.1-xdebug Package on Debian 12 (Bookworm)

Last updated: November 23,2024

1. Install "php8.1-xdebug" package

This tutorial shows how to install php8.1-xdebug on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php8.1-xdebug

2. Uninstall "php8.1-xdebug" package

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

$ sudo apt remove php8.1-xdebug $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-xdebug package on Debian 12 (Bookworm)

Package: php8.1-xdebug
Source: xdebug
Version: 3.3.1-2+0~20240213.59+debian12~1.gbp6c3556
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 1940
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php8.1-common, phpapi-20210902, libc6 (>= 2.33), zlib1g (>= 1:1.2.11.dfsg)
Breaks: php-xdebug (<< 3.3.1-2+0~20240213.59+debian12~1.gbp6c3556~)
Replaces: php-xdebug (<< 3.3.1-2+0~20240213.59+debian12~1.gbp6c3556~)
Provides: php-xdebug
Homepage: https://xdebug.org/
Priority: optional
Section: php
Filename: pool/main/x/xdebug/php8.1-xdebug_3.3.1-2+0~20240213.59+debian12~1.gbp6c3556_amd64.deb
Size: 613300
SHA256: ecb3906c747cdfd1de14acb123eb4f5f72adc56970ff70b13ac95d3fe0290d15
SHA1: 673a88f1add8603870b3a324e1b3ab56b49bf3ac
MD5sum: 66a6b5a5bb322b65d7430d0623f02e34
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