Detailed instructions for using the Xdebug tool under the PHP development tool ZendStudio_PHP tutorial

WBOY
Release: 2016-07-13 10:25:27
Original
788 people have browsed it

It has been more than half a year since I learned the basics of PHP and developed using ZendSudio tools. During this process, I have been learning intermittently and encountered many problems. Learning PHP is really not a worry. The most troublesome part is the debugging process.

When learning programming, you must know how to debug, otherwise it will be like a blind man trying to figure out the operating mechanism. Maybe it’s because I’m not a professional, or I don’t have enough understanding, or maybe the xdebug tool itself is complicated to set up, so I was filled with surprises every step of the Zendstudio debugging process.

I am using the XAMPP integrated development platform environment. The Xdebug debugging tool has been preset in it, you just need to change the configuration yourself.

My development mode is to build the XAMPP environment on the virtual machine, and then the IDE environment is on the local machine. This raises the issue of remote debugging. However, Xdebug already provides this solution, and it is quite powerful.

I was anxious at first and did not fully understand the usage and configuration information of the Xdebug tool. I rushed to put it on the shelves, but something went wrong within a few days. The started session stopped at 57%. Later, the breakpoint did not take effect and it ran over all of a sudden.

By observing port 9000, it turns out that the client will start port 9000 to listen and receive debugging information from the server. This means that the server can telnet 9000 to the client, but the client cannot connect to the server port 9000. .

Final solution: Build the xampp environment from scratch, reconfigure it, and then enable debugging information and everything will be normal.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/825060.htmlTechArticleIt has been more than half a year since I learned the basics of PHP and developed using ZendSudio tools. During this process, I have been learning intermittently and encountering There are also many problems, and learning PHP is really not a worry. The least worry...
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!