NameDateSize

..30-May-2015

.gdbinit20-Dec-2013250

.gitignore09-Jun-201438

.phpdbginit20-Dec-20132.5 KiB

.travis.yml15-Sep-2014220

Changelog.md20-Dec-20131.8 KiB

config.m429-Jan-20162.7 KiB

config.w3206-Dec-20151.2 KiB

create-test.php01-Jan-20164 KiB

CREDITS23-Dec-201345

Makefile.frag24-Jul-20151.5 KiB

phpdbg.124-Oct-20141.3 KiB

phpdbg.c03-Mar-201656.7 KiB

phpdbg.h01-Jan-201612.4 KiB

phpdbg.init.d20-Dec-20132.8 KiB

phpdbg_bp.c03-Mar-201655 KiB

phpdbg_bp.h01-Jan-20166.1 KiB

phpdbg_break.c03-Mar-20162.1 KiB

phpdbg_break.h01-Jan-20161.6 KiB

phpdbg_btree.c01-Jan-20166.6 KiB

phpdbg_btree.h01-Jan-20162.9 KiB

phpdbg_cmd.c03-Mar-201620.4 KiB

phpdbg_cmd.h01-Jan-20166.1 KiB

phpdbg_eol.c03-Mar-20164.2 KiB

phpdbg_eol.h01-Jan-20161.5 KiB

phpdbg_frame.c28-Apr-20167.1 KiB

phpdbg_frame.h01-Jan-20161.5 KiB

phpdbg_help.c03-Mar-201636.8 KiB

phpdbg_help.h01-Jan-20162 KiB

phpdbg_info.c03-Mar-201616.9 KiB

phpdbg_info.h01-Jan-20161.7 KiB

phpdbg_io.c03-Mar-20168 KiB

phpdbg_io.h01-Jan-20161.9 KiB

phpdbg_lexer.c03-Mar-201641 KiB

phpdbg_lexer.h01-Jan-20161.7 KiB

phpdbg_lexer.l03-Mar-20163.8 KiB

phpdbg_list.c28-Apr-201612 KiB

phpdbg_list.h01-Jan-20162.1 KiB

phpdbg_opcode.c03-Mar-20166.7 KiB

phpdbg_opcode.h01-Jan-20162 KiB

phpdbg_out.c03-Mar-201630.3 KiB

phpdbg_out.h14-Feb-20164.8 KiB

phpdbg_parser.c03-Mar-201655.2 KiB

phpdbg_parser.h18-Sep-20153.6 KiB

phpdbg_parser.y03-Mar-20164.4 KiB

phpdbg_print.c28-Apr-201614.1 KiB

phpdbg_print.h01-Jan-20161.7 KiB

phpdbg_prompt.c28-Apr-201649.6 KiB

phpdbg_prompt.h01-Jan-20162.5 KiB

phpdbg_rinit_hook.c01-Jan-20163.4 KiB

phpdbg_rinit_hook.h01-Jan-20161.8 KiB

phpdbg_set.c03-Mar-20169.6 KiB

phpdbg_set.h01-Jan-20161.7 KiB

phpdbg_sigio_win32.c03-Mar-20162.9 KiB

phpdbg_sigio_win32.h01-Jan-20161.4 KiB

phpdbg_sigsafe.c03-Mar-20161.6 KiB

phpdbg_sigsafe.h21-Aug-2015457

phpdbg_utils.c25-Mar-201623 KiB

phpdbg_utils.h17-Feb-20165.2 KiB

phpdbg_wait.c03-Mar-201612.5 KiB

phpdbg_wait.h01-Jan-20161.3 KiB

phpdbg_watch.c28-Apr-201640.3 KiB

phpdbg_watch.h01-Jan-20163.7 KiB

phpdbg_webdata_transfer.c01-Jan-20165.2 KiB

phpdbg_webdata_transfer.h01-Jan-20161.3 KiB

phpdbg_win.c01-Jan-20161.9 KiB

phpdbg_win.h01-Jan-20161.6 KiB

README.md15-Sep-20142.5 KiB

test.php21-Apr-20141.1 KiB

tests/25-Mar-2016

travis/15-Jun-2014

web-bootstrap.php20-Dec-20132.1 KiB

xml.md23-Nov-201420 KiB

README.md

1The interactive PHP debugger
2============================
3
4Implemented as a SAPI module, phpdbg can exert complete control over the environment without impacting the functionality or performance of your code.
5
6phpdbg aims to be a lightweight, powerful, easy to use debugging platform for PHP 5.4+
7
8[![phpdbg on travis-ci](https://travis-ci.org/krakjoe/phpdbg.png?branch=master)](https://travis-ci.org/krakjoe/phpdbg)
9
10Features
11========
12
13 - Stepthrough Debugging
14 - Flexible Breakpoints (Class Method, Function, File:Line, Address, Opcode)
15 - Easy Access to PHP with built-in eval()
16 - Easy Access to Currently Executing Code
17 - Userland API
18 - SAPI Agnostic - Easily Integrated
19 - PHP Configuration File Support
20 - JIT Super Globals - Set Your Own!!
21 - Optional readline Support - Comfortable Terminal Operation
22 - Remote Debugging Support - Bundled Java GUI
23 - Easy Operation - See Help :)
24
25Planned
26=======
27
28 - Improve Everything :)
29
30Installation
31============
32
33To install **phpdbg**, you must compile the source against your PHP installation sources, and enable the SAPI with the configure command.
34
35```
36cd /usr/src/php-src/sapi
37git clone https://github.com/krakjoe/phpdbg
38cd ../
39./buildconf --force
40./configure --enable-phpdbg
41make -j8
42make install-phpdbg
43```
44
45Where the source directory has been used previously to build PHP, there exists a file named *config.nice* which can be used to invoke configure with the same
46parameters as were used by the last execution of *configure*.
47
48**Note:** PHP must be configured with the switch --with-readline for phpdbg to support history, autocompletion, tab-listing etc.
49
50Command Line Options
51====================
52
53The following switches are implemented (just like cli SAPI):
54
55 - -n ignore php ini
56 - -c search for php ini in path
57 - -z load zend extension
58 - -d define php ini entry
59
60The following switches change the default behaviour of phpdbg:
61
62 - -v disables quietness
63 - -s enabled stepping
64 - -e sets execution context
65 - -b boring - disables use of colour on the console
66 - -I ignore .phpdbginit (default init file)
67 - -i override .phpgdbinit location (implies -I)
68 - -O set oplog output file
69 - -q do not print banner on startup
70 - -r jump straight to run
71 - -E enable step through eval()
72 - -l listen ports for remote mode
73 - -a listen address for remote mode
74 - -S override SAPI name
75
76**Note:** Passing -rr will cause phpdbg to quit after execution, rather than returning to the console.
77
78Getting Started
79===============
80
81See the website for tutorials/documentation
82
83http://phpdbg.com
84