12 Debugging Tools for PHP developers, PHP Developer debugging tool _php Tutorial

Source: Internet
Author: User
Tags php compiler php debug php debugger php debugging tools php development environment php editor stack trace

12 Debugging Tools for PHP developers, PHP Developer Debugging Tools


PHP is a scripting language that has developed rapidly and is used most in practice, and includes many features such as detailed documentation, a large community, countless scripts to use, and support frameworks. PHP offers these features to make it easier to get started than scripting languages like Python or Ruby.

PHP developers continue to search for useful tools to build web apps that are innovative and fun. In this article, I've collected 12 developer PHP Debugging tools that will help developers easily identify and debug errors in applications and scripts. The following PHP debugging tools support AJAX requests and include general-purpose data collectors and stack-based error handlers. I hope you will appreciate 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, an open source software, a replacement that doesn't need to be installed, provides a better debugging experience. It cleverly detects virtually unreadable data and customizes them to show the output of the rule. Variable name, file, line number, and wrapper function it all hints out.

Source

2. Debugbar

Debugbar is a free 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 a common data collector, and integrates common libraries. The generated bar is implemented by 100% JavaScript and placed at the bottom of the page (like development tools). New collectors and views can be easily added, and previous requests can be saved or rerun.

Source

3. Pinba

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

Source

4. PHPMD

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

Source

5. Xde Bug

Xdebug is a free and open source PHP extension for debugging and parsing PHP script details. Since it is an extension, it is convenient to use and requires very few settings on the encoder side. It can provide all the data for the stack trace and function traces in the error message, including all parameters of the user-defined function, function name, file name, and row flags. Xdebug can also provide data for memory allocation, analysis information, and code coverage analysis.

Source

6. Whoops

Whoops is a PHP library that makes error handling and debugging easier. This library provides stack-based error handling and has a good-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 integrations).

Source

7. Krumo

Many PHP developers use Print_r () and Var_dump () to debug output hard-to-read or unformatted results. Krumo is a substitute for these functions, which can display structured information for any PHP variable. After the Krumo is run, the output will be displayed as a collapsible DHTML tree structure around the PHP variable. At the same time, it speeds up the debugging process by "turning off" the debug process itself rather than disabling all trace paths in the code.

Source

8. PHP Debugger

Debugging is the process of discovering 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 by opening the PHP debug settings in the Wizardand dbg Wizard.

Source

9. PHP Debug

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

Source

Ten. 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

Php_dyn.

Php_dyn is an excellent open source PHP debugging tool. You can trace the function execution and get an output of the function arguments and return values.

Source

MACGDBP.

MACGDBP is a PHP debugger on Mac OS. It has all the features you expect, a full-featured debugger that includes features such as stepping and setting breakpoints.

Source

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


We recommend a PHP development tool OH

Development tools depends on your needs, if the background is recommended to use Zend Studio, the only IDE throughout the project, if the front desk, Dreamweaver and other WYSIWYG tools are more convenient.

A software that can edit PHP Web pages, preferably with the download address

Non-common editplus and the like, are specifically for the development of PHP, interested can try to find their own use of the right can, I recommend 3 Zend Studio,dzsoft PHP Editor,editplus, is also I use now, I hope to help you.

Zend Studio
Developer: www.zend.com/store/products/zend-studio.php
Currently recognized as the most powerful PHP development tool, this integration package includes the client and server components for editing, debugging, and configuring PHP programs, the software package has an industry-standard PHP development environment, code completion engine, full-featured debugger and so on.

Nusphere phped
www.nusphere.com/
Phped is a leading product in the field of PHP with unparalleled PHP debugging and compression capabilities, and a new Nusoap Web Services Wizard. The more powerful project manager makes publishing sites and applications easier than ever. Currently running or developing programs can be tested and tuned at the thread level. Support for CVS versioning, and local support for PostgreSQL and MySQL databases provides an extensive environment for PHP to use open source databases. But the Chinese language support is not very good, Chinese characters are treated as a single byte. 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 expand and customize, fully meet the developer's personality requirements. 1: With PHP compiler and reference document, you can instantly preview the PHP script in the Editor 2: Support highlighting HTML and PHP code; 3: Auto-complete function, can automatically complete the user custom code snippet; 4: standard function hint; 5: There is a special project manager; 6: Object Browser Searches for the included information in the edited file, customizes the function, and displays it in a tree. 7: Support for finding symmetric statement markers; 8: Support advanced search and replacement; 9: with FTP function; 10: Support Running and breakpoint debugging 11: ... In short, Phpcoder is a very practical, 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 that takes care of beginners and professional developers. PHP Expert Editor built-in HTTP server for testing and debugging (you can also use other HTTP server), PHP syntax check, FTP functions, code templates and other functions.

Dzsoft PHP Editor
...... Remaining full text >>

http://www.bkjia.com/PHPjc/894765.html www.bkjia.com true http://www.bkjia.com/PHPjc/894765.html techarticle 12 Debugging Tools for PHP developers, PHP Developer Debugging tool PHP is a fast-growing and most-used scripting language in practice, including detailed documentation, a huge community ...

  • Related Article

    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.