| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Implemented as a SAPI module, phpdbg can exert 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
| Back | FazBrowse Home | New Git URL |