|
hace 2 años | |
---|---|---|
.. | ||
tests | hace 2 años | |
travis | hace 2 años | |
.gdbinit | hace 2 años | |
.gitignore | hace 2 años | |
.phpdbginit | hace 2 años | |
.travis.yml | hace 2 años | |
CREDITS | hace 2 años | |
Changelog.md | hace 2 años | |
Makefile.frag | hace 2 años | |
README.md | hace 2 años | |
config.m4 | hace 2 años | |
config.w32 | hace 2 años | |
phpdbg.1 | hace 2 años | |
phpdbg.c | hace 2 años | |
phpdbg.h | hace 2 años | |
phpdbg.init.d | hace 2 años | |
phpdbg_bp.c | hace 2 años | |
phpdbg_bp.h | hace 2 años | |
phpdbg_break.c | hace 2 años | |
phpdbg_break.h | hace 2 años | |
phpdbg_btree.c | hace 2 años | |
phpdbg_btree.h | hace 2 años | |
phpdbg_cmd.c | hace 2 años | |
phpdbg_cmd.h | hace 2 años | |
phpdbg_frame.c | hace 2 años | |
phpdbg_frame.h | hace 2 años | |
phpdbg_help.c | hace 2 años | |
phpdbg_help.h | hace 2 años | |
phpdbg_info.c | hace 2 años | |
phpdbg_info.h | hace 2 años | |
phpdbg_lexer.c | hace 2 años | |
phpdbg_lexer.h | hace 2 años | |
phpdbg_lexer.l | hace 2 años | |
phpdbg_list.c | hace 2 años | |
phpdbg_list.h | hace 2 años | |
phpdbg_opcode.c | hace 2 años | |
phpdbg_opcode.h | hace 2 años | |
phpdbg_parser.y | hace 2 años | |
phpdbg_print.c | hace 2 años | |
phpdbg_print.h | hace 2 años | |
phpdbg_prompt.c | hace 2 años | |
phpdbg_prompt.h | hace 2 años | |
phpdbg_set.c | hace 2 años | |
phpdbg_set.h | hace 2 años | |
phpdbg_utils.c | hace 2 años | |
phpdbg_utils.h | hace 2 años | |
phpdbg_watch.c | hace 2 años | |
phpdbg_watch.h | hace 2 años | |
phpdbg_win.c | hace 2 años | |
phpdbg_win.h | hace 2 años | |
test.php | hace 2 años | |
web-bootstrap.php | hace 2 años |
Implemented as a SAPI module, phpdbg can excert complete control over the environment without impacting the functionality or performance of your code.
phpdbg aims to be a lightweight, powerful, easy to use debugging platform for PHP 5.4+
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
./configure --enable-phpdbg
make -j8
make install-phpdbg
Where 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 parameters as were used by the last execution of configure.
Note: PHP must be configured with the switch --with-readline for phpdbg to support history, autocompletion, tab-listing etc.
The following switches are implemented (just like cli SAPI):
The following switches change the default behaviour of phpdbg:
Note: Passing -rr will cause phpdbg to quit after execution, rather than returning to the console.
See the website for tutorials/documentation