Ashamed to say, since the beginning of the use of sublime text, never debug PHP code, recently set the debug environment, here to record.Installing Xdebugsudo Install Php5-xdebugEdit the Xdebug.ini file and add the following
Many PHP programmers debug using Echo, Print_r (), Var_dump (), printf (), and so on, although these are sufficient for programmers with richer development experience, they can often be used during program execution By outputting the value of a
When projects become more complex, it becomes more difficult to make mistakes.You think the code works this way, but it's the unpredictable functionality that makes the process elusive.At this time we need debugging AH debugging ...
Phpstorm is a
Xdebug can control the execution of PHP programs, which means xdebug can pause or resume a running PHP program at any time. When the PHP program is paused, Xdebug can get information about the program, such as the value of the variable. Xdebug can
The main reference is as follows: No RemoteDebugging environment is set up, leading to low development efficiency. Habitual operations obviously cannot get used to this development mode of notepad IEExplorer. Therefore, we decided to build a PHP
Finally in the CentOS XAMPP environment, the Xdebug to install in place. Write a blog record.One of the main reasons for the previous installation failure was that I had a PHP version in my CentOS, and there was a problem using phpize. The
Xdebug is a good helper for php debugging, and sublime is a good helper for php writing. Here we only talk about how to configure it. By default, readers will use sublimetext and Xdebug as a good helper for php debugging and sublime as a good helper
: This article describes how to set up the macsublime3 + xdebug + firefox debugging environment. For more information about PHP tutorials, see. Step 1: Configure php xdebug extension
[Xdebug]Zend_extension
This article is mainly for everyone in detail introduced the Phpstorm+xdebug debugging graphics and text tutorials, the content is very rich, with a certain reference value, interested in small partners can refer toThe author's development
Xdebug is a PHP debugging tool, we can use like echo,print and so on to invoke the error, but we have no way to check the function execution times and execution time, and the use of xdebug can be fully implemented Oh, let me introduce in Winodws PHP
[Original] PHP + Xdebug remote debugging previously thought that the server and IDE must be on the same server during php debugging. it was not intended to find that xdebug actually supports remote debugging.
After trying it, I found that the
I. installation and configuration
1. Download PHP XDebug extension, URL: http://xdebug.org/
2. Compile and install XDebug in Linux
ReferenceTar-xzf xdebug-2.0.0RC3.gzCd xdebug-2.0.0RC3/Usr/local/php/bin/phpize./Configure -- enable-xdebugCp
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
The installation of xdebug in the apmxe integration environment of qeephp of Origin technology went through a morning of tossing and found that xdebug conflicts with xcache. (For details about xdebug, refer to the online tutorial.) modify php. ini
Methods for remote debugging using Phpstorm and Xdebug, Phpstormxdebug
The breakpoint debugging function of VS is very powerful there are wood there, can see all the variables have wood there. PHP debugging is very troublesome to have wood,
Php+phpstorm+xdebug configuration method, Phpstormxdebug
1. Download the Xdebug file
http://xdebug.org/wizard.php
Copy the source code for Phpinfo () to the text box, Xdebug will prompt you to configure and download which version of Xdebug.
Full
Linux under xdebug debug PHP Blog Category: phpphplinuxzendeclipsec# in order to debug PHP program, install Xdebug. Official website: http://www.xdebug.org First download xdebug2.1.0, In the official homepage to download the source code, download
After configuring the debugging environment according to the network information, I tried it and found that the function was relatively simple and single file debugging was acceptable. It would be uncomfortable for cross-file debugging projects,
Xdebug is a good helper for PHP debugging, Sublime is a good helper for PHP writing. Here only how to configure, default readers will use sublime text and Xdebug
Installing Xdebug
Ubuntu under Installation: Ubuntu 12.04 under install config PHP
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.