1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00
krakjoe e0cbd92fa4 break on class methods
don't dtor eval'd retval
more reliable break on methods
2013-11-12 00:27:48 +00:00
2013-11-10 22:55:07 +00:00
2013-11-09 22:35:03 +00:00
2013-11-12 00:27:48 +00:00
2013-11-12 00:27:48 +00:00
2013-11-12 00:27:48 +00:00
...
2013-11-11 13:31:41 +00:00
2013-11-10 19:00:58 -02:00
2013-11-12 00:27:48 +00:00
2013-11-12 00:27:48 +00:00
2013-11-12 00:27:48 +00:00
...
2013-11-10 21:15:45 +00:00
2013-11-11 17:37:59 +00:00
2013-11-12 00:27:48 +00:00

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.

phpdbg aims to be a lightweight, easy to use debugging platform for PHP5.5+

Features

  • step through debugging
  • break at function entry, file:line or address
  • showing debug backtraces
  • easy manipulation of the environment with built-in eval()
  • userland API
  • sapi agnositicism, easy integration

Planned

  • mocking server environments/requests
  • improve everything

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

screenshot
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Readme 1 GiB
Languages
C 66%
PHP 31.3%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%