mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
f745c841b8e9104874a1f4c83b603d4e090b1be3
phpdbg - The interactive PHP debugger
phpdbg is an interactive debugger for PHP.
Implemented as a SAPI module, phpdbg can excerpt complete control over the environment without impacting the functionality or performance of your code.
Features
- step through debugging
- break at function entry or file:line
- showing debug backtraces
- easy manipulation of the environment with built-in eval()
- sapi agnositicism, easy integration
Installation
To install phpdbg, you must compile the source against your PHP installation sources, and enable the SAPI with the configure command.
cd /usr/src/php-src/sapi
git clone https://github.com/krakjoe/phpdbg
cd ../
./buildconf --force
./config.nice
make -j8
make install-phpdbg
Command Line Options
The following switches are implemented (just like cli SAPI):
- -n ignore php ini
- -c search for php ini in path
- -z load zend extension
- -d define php ini entry
Screeny
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Languages
C
66.1%
PHP
31.2%
C++
0.8%
Shell
0.5%
M4
0.4%
Other
0.8%