The PHP Interpreter
Go to file
2013-11-12 00:54:35 -02:00
.gitignore - Added initial code for a simple prompt 2013-11-09 23:30:32 -02:00
config.m4 - Added "list func" support 2013-11-12 00:19:43 -02:00
Makefile.frag import 2013-11-09 22:35:03 +00:00
phpdbg_bp.c Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 01:58:39 +00:00
phpdbg_bp.h ... 2013-11-12 00:47:27 +00:00
phpdbg_help.c - Added "list func" support 2013-11-12 00:19:43 -02:00
phpdbg_help.h - Added "list func" support 2013-11-12 00:19:43 -02:00
phpdbg_list.c Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:35:07 +00:00
phpdbg_list.h Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:35:07 +00:00
phpdbg_opcode.c - Fix code 2013-11-10 19:00:58 -02:00
phpdbg_opcode.h - Added separated file to opcode decode function 2013-11-10 18:01:09 -02:00
phpdbg_prompt.c Merge branch 'master' of https://github.com/krakjoe/phpdbg 2013-11-12 02:50:44 +00:00
phpdbg_prompt.h clean not destroy included files 2013-11-11 08:08:26 +00:00
phpdbg_utils.c - Added phpdbg_is_empty function 2013-11-12 00:50:15 -02:00
phpdbg_utils.h - Added phpdbg_is_empty function 2013-11-12 00:50:15 -02:00
phpdbg.c blurb/version/issues string 2013-11-12 02:04:54 +00:00
phpdbg.h blurb/version/issues string 2013-11-12 02:04:54 +00:00
phpdbg.png ... 2013-11-10 21:15:45 +00:00
README.md [Not running] 2013-11-12 01:31:51 +00:00
test.php break on class methods 2013-11-12 00:27:48 +00:00

The interactive PHP debugger

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 method/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