xDebug
Xdebug — Step Debugger and Debugging Aid for PHP (by xdebug)
PHP Debug Bar
Debug bar for PHP (by maximebf)
Our great sponsors
xDebug | PHP Debug Bar | |
---|---|---|
16 | 1 | |
2,681 | 3,976 | |
1.3% | - | |
9.0 | 5.1 | |
23 days ago | 2 months ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xDebug
Posts with mentions or reviews of xDebug.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-27.
-
Extension like quokkajs for PHP
XDebug will let you step through your code and see variable values: https://xdebug.org/
-
How do you approach changing/implementing things in a project that you just joined?
Learn out how to set breakpoints in the code and use an interactive debugger. You can do this in PHP as well as JavaScript.
-
How can I see a variable in the browser?
or var-dump() but what you probably want is a step debugger like XDebug.
There's FirePHP (I've never used it) but the most straightforward way to inspect variables is Xdebug (supported by PhpStorm, Visual Studio Code and NetBeans).
-
Adding PHPUnit Test Log and Coverage to GitLab CI/CD
In your app docker file we will need to install XDebug extension to collect the testing coverage report and create two new files: phpunit-report.xml and phpunit-coverage.xml for testing report and testing coverage.
-
Modern tools for PHP developers
Before the introduction of debuggers like XDebug and ZendDebugger, developers were forced to spend excessive time understanding the root cause of an application’s misbehavior.
-
Ho ho Oh no! Where are my variables?
Debugging with Xdebug: https://xdebug.org/
-
All I want for PHP is 🐘
xdebug
-
How to *print* variables to check bugs in an Ajax script?
There's an XDebug extension (https://xdebug.org/) for PHP that will permit you to attach a debugger. I haven't tried debugging from VsCode specifically before (I've used NetBeans and also the command-line client before), but the overall idea here is:
-
Weekly "ask anything" thread
Using Xdebug's profiling features. This takes some time to learn and setting up to your environment.
PHP Debug Bar
Posts with mentions or reviews of PHP Debug Bar.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-26.
-
10+ Best Laravel Dev Tools For Faster Development🚀2021
This is a package to integrate PHP Debug Bar with Laravel. It includes a Service Provider to register the debugbar and attach it to the output. You can publish assets and configure it through Laravel. It bootstraps some Collectors to work with Laravel and implements a couple custom Data Collectors, specific for Laravel. It is configured to display Redirects and (jQuery) Ajax Requests. (Shown in a dropdown) Read the documentation for more configuration options.
What are some alternatives?
When comparing xDebug and PHP Debug Bar you can also consider the following projects:
PHPDBG
XHProf - XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
Kint - Kint - a powerful and modern PHP debugging tool.
Tracy - 😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.
PHPBench - PHP Benchmarking framework
Barbushin PHP Console - Handle PHP errors, dump variables, execute PHP code remotely in Google Chrome
APM - PHP APM (Alternative PHP Monitor)
Dephpugger - Php Debugger to run in terminal to debug your code easily.