Use xdebug to Debug PHP to find out the bottleneck of the PHP program. Xdebug is an extension application of PHP. with xdebug, you can easily debug the PHP program. with it, we don't need to use var_dump (), print_r () and so on. Xd
XdebugIt is an
There is a well-known 80-20 law in economics, which is referenced in programming, that is, 80% of the performance bottleneck is caused by 20% of the Code. With the XDebug extension of PHP in Ubuntu, You can effectively find the 20% code. 1. Install
PHP learning-use XDebug (Ubuntu) in sublime ). PHP learning-XDebug (Ubuntu) is used in sublime. since SublimeText was used, PHP code has never been debugged, recently I set up the debug environment for PHP learning-using XDebug (Ubuntu) in
Install phpunit and xdebug ???? I installed phpunit in my company and tested it ~~ But the output code test coverage rate requires php extension xdebug, so I went to the Internet to find this xdebug? (Www.xdebug.org .???? Install phpunit and xdebug
Install PHPUnit and Xdebug under PHP
?? ? ? Say before the company installed the next phpunit, test ~ ~ But the output code test coverage, need to have PHP extension xdebug, went online to find this xdebug? (www.xdebug.org), download.
?? ? ? In
PHP Learning-using Xdebug (Ubuntu) in sublime
Ashamed to say, since the beginning of the use of sublime text, never debug PHP code, recently set the debug environment, here to record. Install xdebug sudo apt-get install php5-xdebug edit Xdebug.ini
Xdebug Configuration
Xdebug Installation
Original address: http://xiaobin.net/201007/using-vim-and-xdebug-to-debug-php-code/
In principle, this kind of debugging method mainly relies on vim plug-in "remote PHP Debugger" to implement, the
Xdebug is an open source PHP program debugger (a debug tool) that can be used to track, debug, and analyze the health of PHP programs. In daily development, we will use functions such as Print_r () Var_dump () to debug, but after all xdebug more
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.