12 debugging tools for PHP developers

Source: Internet
Author: User
Tags php debug php debugger php debugging tools
PHP is a script language that develops rapidly and is most widely used in practice. It contains many features such as detailed documents, a large community, countless scripts available, and support frameworks. These features provided by PHP make it easier to use than scripting languages such as Python or Ruby. To build innovative and fun Web applications, PHP developers are constantly searching for useful tools.

PHP is a script language that develops rapidly and is most widely used in practice. It contains many features such as detailed documents, a large community, countless scripts available, and support frameworks. These features provided by PHP make it easier to use than scripting languages such as Python or Ruby. To build innovative and fun Web applications, PHP developers are constantly searching for useful tools.







PHP is a script language that develops rapidly and is most widely used in practice. It contains many features such as detailed documents, a large community, countless scripts available, and support frameworks. These features provided by PHP make it easier to use than scripting languages such as Python or Ruby.


To build innovative and fun Web applications, PHP developers are constantly searching for useful tools. In this article, I collected12 PHP debugging tools developed by developersThey help developers easily find and debug errors in applications and scripts. The following PHP debugging tool supports Ajax requests and contains a common data collector and a stack-based error processor. I hope you can see the convenience and usefulness of this list in future projects.













#1. Kint



When debugging PHP code, var_dump (), print_r (), and debug_backtrace () are our most commonly used tools. Kint is an open-source software and a replacement without installation. It provides a better debugging experience. It cleverly detects almost unreadable data and customizes them to output display of rules. Variables, files, row numbers, and packaged functions are all prompted.

Source code














#2. DebugBar



DebugBar is a free and open source software that can be integrated into any PHP project to collect and locate data. It does not have third-party dependencies and supports Ajax requests, including common data collectors and integrating common libraries. The generated bar is implemented in 100% JavaScript and placed at the bottom of the page (like a development tool ). New collectors and views can be easily added, and previous requests can be saved or re-run.

Source code














#3. Pinba



Pinba is an open-source MySQL storage engine that can be used as a PHP Statistics Service. It uses received data to analyze PHP application performance and quickly locate any problems.

Source code














#4. PHPMD



PHPMD is a front-end that is easy to configure and friendly to PHP original dependent metrics. It looks for a variety of potential problems in your code, including possible bugs, unsuitable code, unused parameters, and so on.

Source code














#5. Xde Bug



Xdebug is a free and open-source PHP extension for debugging and analyzing PHP script details. Because it is an extension, it is easy to use and requires very few settings on the encoding end. It provides all data of stack trace and function trace in error information, including all parameters of user-defined functions, function names, file names, and row flags. Xdebug also provides data for memory allocation, analysis information, and code coverage analysis.

Source code














#6. Whoops



Whoops is a PHP library that makes error handling and debugging easier. This library provides stack-based error handling and has a nice UI. It has a simple API for handling exceptions, which can track frames and their data, and can be integrated with any framework (end and Silex are already integrated in a built-in manner ).

Source code














#7. Krumo



Many PHP developers use print_r () and var_dump () to debug hard-read or unformatted output results. Krumo is a replacement of these functions and can display structured information of any PHP variable. After Krumo runs, the output will be displayed as a foldable DHTML tree structure around PHP variables. At the same time, it accelerates the debugging process by turning off the debugging process rather than disabling all tracing paths in the code.

Source code














#8. Php Debugger



Debugging is the process of discovering and fixing bugs. PHP Debugger is the best tool to help you quickly locate errors and remove them from your PHP program. You can set remote debugging in PHPEd and enable it through the PHP debugging settings in the Wizardand DBG wizard.

Source code













#9. Php Debug



The basic purpose of PHP_Debug is to provide assistance when debugging PHP code.

Source code

#10. Webgrind



Xdebug is one of the most popular PHP debugging extensions. It provides a lot of useful data to help you find bugs in the source code.

Source code

#11. PHP_Dyn



PHP_Dyn is an excellent open-source PHP debugging tool. You can track function execution and get an output of function parameters and return values.

Source code

#12. MacGDBp



MacGDBp is a PHP debugger on mac OS. It has all of your desired features, and is a full-featured debugger that includes sentence-by-sentence running and breakpoint setting.

Source code






Address: http://www.oschina.net/translate/12-php-debugging-tools-for-developers.


Finally, we will add firephp and xhprof.



Original article address: 12 debugging tools for PHP developers. Thank you for sharing them.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.