Home >Backend Development >PHP Tutorial >12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:17:061061browse

12 debugging tools for PHP developers, debugging tools for PHP developers

PHP is the scripting language that is developing rapidly in practice and is the most used; it includes details such as documentation, a huge community, countless available scripts and supporting frameworks, and many other features. These features provided by PHP make it easier to get started 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 have collected 12 PHP debugging tools for developers that will help developers easily find and debug errors in applications and scripts. The following PHP debugging tools support Ajax requests and include a generic data collector and stack-based error handler. I hope you find this list handy and useful in future projects.

 1. Kint

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

When debugging PHP code, var_dump(), print_r() and debug_backtrace() are our most commonly used tools. Kint, an open source software, a no-installation replacement that provides a better debugging experience. It cleverly detects nearly unreadable data and tailors them into regular output displays. It can prompt all variable names, files, line numbers and packaged functions.

Source code

 2. DebugBar

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

DebugBar is a free and open source software that can be integrated into any PHP project to collect and locate data. It has no third-party dependencies, supports Ajax requests, contains universal data collectors and integrates common libraries. The generated bar is 100% JavaScript and placed at the bottom of the page (like the developer tools). New collectors and views can be easily added, and previous requests can be saved or rerun.

Source code

 3. Pinba

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

Pinba is an open source MySQL storage engine that can be used as a PHP statistics service. It uses the data it receives to analyze PHP application performance and quickly locate any issues.

Source code

 4. PHPMD

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

PHPMD is an easy-to-configure front-end that is friendly to PHP’s original dependencies. It looks for a variety of potential problems in your code, including possible bugs, inappropriate code, unused parameters, etc.

Source code

 5. Xde Bug

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

Xdebug is a free and open source PHP extension for debugging and analyzing details of PHP scripts. Since it is an extension, it is easy to use and requires very little setup on the coding side. It provides all data from stack traces and function traces in error messages, including all parameters of user-defined functions, function names, file names, and line flags. Xdebug can also provide memory allocation, analysis information and code coverage analysis data.

Source code

 6. Whoops

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

Whoops is a PHP library that makes error handling and debugging easier. This library provides stack-based error handling and has a nice-looking interface. It has a simple API for handling exceptions, is able to track frames and their data, and can be integrated with any framework (end and Silex have built-in integration).

Source code

 7. Krumo

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

Many PHP developers use print_r() and var_dump() to debug output that is unreadable or unformatted. Krumo is a replacement for these functions that can display structured information about any PHP variable. After Krumo is run, the output will be displayed as a collapsible DHTML tree structure surrounding PHP variables. At the same time, it speeds up the debugging process by having the ability to "turn off" the debugging process itself rather than disabling all traceback paths in the code.

Source code

 8. Php Debugger

PHP Debugger

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

Source code

 9. Php Debug

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

The basic purpose of 12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial is to provide assistance when debugging PHP code.

Source code

 10. Webgrind

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

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

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

PHP_Dyn is an excellent open source PHP debugging tool. You can trace function execution and get an output of the function's parameters and return value.

Source code

 12. 12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial

12 debugging tools for PHP developers, PHP developer debugging tools_PHP tutorial is a PHP debugger on MAC OS. It has all the features you would expect, a full-featured debugger that includes step-by-step execution and the ability to set breakpoints.

Source code

 English original text: http://codegeekz.com/12-php-debugging-tools-for-developers/

Please recommend a PHP development tool

The development tools depend on your needs. If you prefer the backend, it is recommended to use Zend Studio, which is the only IDE that runs through the entire project. If you prefer the frontend, WYSIWYG tools such as Dreamweaver are more convenient.

A software that can edit PHP web pages, preferably with a download address

The very common Editplus and the like are specially developed for PHP. If you are interested, you can give it a try and find out what you are comfortable with. I recommend 3 Zend Studio, DzSoft PHP Editor, and Editplus. This is what I use now, I hope it helps everyone.

Zend Studio
Developer: www.zend.com/store/products/zend-studio.php
Currently recognized as the most powerful PHP development tool, this integrated software package includes Used to edit, debug, and configure client and server components required for PHP programs. The software package has an industry-standard PHP development environment, code completion engine, full-featured debugger, etc.

NuSphere PHPEd
www.nusphere.com/
PhpED leads the PHP field with unparalleled PHP debugging and compression capabilities, as well as a new NuSOAP web service wizard. The more powerful Project Manager makes publishing sites and applications easier than ever. Running or developing programs can now be tested and tuned at the thread level. Support for CVS version control, and native support for PostgreSQL and MySQL databases provide a broad environment for using open source databases with PHP. But the support for Chinese is not very good, and Chinese characters are treated as single bytes. PHPED also has a Linux version.

PHP Coder
www.phpide.de/
PHPCoder is used to quickly develop and debug PHP applications. It is easy to extend and customize, and can fully meet the developer's individual requirements. 1: Combination With the PHP compiler and reference documentation, you can instantly preview the PHP script being edited. 2: Supports highlighting of HTML and PHP code; 3: Auto-complete function, which can automatically complete user-defined code snippets; 4: Standard function prompts; 5: There is a dedicated project manager; 6: The object browser searches for the included information and custom functions of the file being edited, and displays them in a tree shape. 7: Supports finding symmetrical statement markers; 8: Supports advanced search and replacement ;9: Comes with FTP function;10: Supports running and breakpoint debugging11:... In short, PHPCoder is a very practical and powerful programming environment, and it is free!

Ankord PHP Expert Editor
www.ankord.com/phpxedit.html
PHP Expert Editor is an easy-to-use PHP development tool, and its functions take care of beginners and professional developers. PHP Expert Editor has built-in http server for testing and debugging (you can also use other http servers), PHP syntax checking, FTP function, code templates and other functions.

DzSoft PHP Editor
...the rest of the text>>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/894765.htmlTechArticle12 debugging tools prepared for PHP developers, PHP developer debugging tools PHP is developing rapidly in practice and The most used scripting language; includes detailed documentation, a huge community...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn