• Home
  • History
  • Annotate
  • only in this directory
Name Date Size


.gdbinitH A D13-févr.-2019250

.phpdbginitH A D13-févr.-20192,5 KiB

config.m4H A D11-oct.-20193,3 KiB

config.w32H A D13-févr.-20191,3 KiB

create-test.phpH A D04-févr.-20204,4 KiB

CREDITSH A D13-févr.-201945

Makefile.fragH A D13-févr.-20191,5 KiB

phpdbg.1.inH A D03-févr.-20212,8 KiB

phpdbg.cH A D27-mai-202061,2 KiB

phpdbg.hH A D23-juil.-201913 KiB

phpdbg.init.dH A D13-févr.-20192,8 KiB

phpdbg_bp.cH A D04-févr.-202057,5 KiB

phpdbg_bp.hH A D13-févr.-20196,1 KiB

phpdbg_break.cH A D13-févr.-20192,1 KiB

phpdbg_break.hH A D13-févr.-20191,6 KiB

phpdbg_btree.cH A D13-févr.-20197,4 KiB

phpdbg_btree.hH A D13-févr.-20193 KiB

phpdbg_cmd.cH A D27-mai-202020,4 KiB

phpdbg_cmd.hH A D13-févr.-20196,1 KiB

phpdbg_eol.cH A D01-juil.-20194,2 KiB

phpdbg_eol.hH A D13-févr.-20191,5 KiB

phpdbg_frame.cH A D15-avr.-201910,1 KiB

phpdbg_frame.hH A D13-févr.-20191,6 KiB

phpdbg_help.cH A D20-mars-201939,1 KiB

phpdbg_help.hH A D13-févr.-20192 KiB

phpdbg_info.cH A D15-avr.-201916,9 KiB

phpdbg_info.hH A D13-févr.-20191,7 KiB

phpdbg_io.cH A D12-avr.-20197,9 KiB

phpdbg_io.hH A D13-févr.-20191,9 KiB

phpdbg_lexer.hH A D13-févr.-20191,7 KiB

phpdbg_lexer.lH A D12-janv.-20213,8 KiB

phpdbg_list.cH A D25-juil.-201911,7 KiB

phpdbg_list.hH A D13-févr.-20192 KiB

phpdbg_opcode.cH A D13-févr.-20196,5 KiB

phpdbg_opcode.hH A D01-juil.-20192 KiB

phpdbg_out.cH A D01-juil.-201929,9 KiB

phpdbg_out.hH A D01-juil.-20194,9 KiB

phpdbg_parser.yH A D12-janv.-20214,4 KiB

phpdbg_print.cH A D13-févr.-201914,1 KiB

phpdbg_print.hH A D13-févr.-20191,7 KiB

phpdbg_prompt.cH A D25-févr.-202155,9 KiB

phpdbg_prompt.hH A D13-févr.-20192,6 KiB

phpdbg_rinit_hook.cH A D13-févr.-20193,5 KiB

phpdbg_rinit_hook.hH A D13-mars-20191,8 KiB

phpdbg_set.cH A D13-févr.-20199,6 KiB

phpdbg_set.hH A D13-févr.-20191,7 KiB

phpdbg_sigio_win32.cH A D13-févr.-20192,9 KiB

phpdbg_sigio_win32.hH A D13-févr.-20191,4 KiB

phpdbg_sigsafe.cH A D13-févr.-20191,6 KiB

phpdbg_sigsafe.hH A D13-févr.-2019457

phpdbg_utils.cH A D03-juin-202023,2 KiB

phpdbg_utils.hH A D13-mars-20195,2 KiB

phpdbg_wait.cH A D15-avr.-201913,4 KiB

phpdbg_wait.hH A D13-févr.-20191,3 KiB

phpdbg_watch.cH A D03-juin-202054,1 KiB

phpdbg_watch.hH A D27-mai-20204,7 KiB

phpdbg_webdata_transfer.cH A D13-févr.-20195,2 KiB

phpdbg_webdata_transfer.hH A D13-févr.-20191,3 KiB

phpdbg_win.cH A D13-févr.-20191,9 KiB

phpdbg_win.hH A D13-févr.-20191,6 KiB

README.mdH A D22-avr.-20192,3 KiB

test.phpH A D04-févr.-20201,2 KiB

tests/H12-janv.-20211,7 KiB

web-bootstrap.phpH A D20-févr.-20192,1 KiB

xml.mdH A D21-oct.-201920 KiB


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