What tools does php use for debugging?

Source: Internet
Author: User
What tools does php use for debugging? what tools does php use for debugging? I want to slightly change the php plug-in written by others. most of the code means that. I can see it clearly, however, if I want to find the function source, or check whether the function runs to a certain position or to view the variable at the next break .. How to do this? I used notepad and notepad for online queries .. However, for systems with relatively small content written by these tools, which of the following tools does dede php usually use for debugging?
What tools does php usually use for debugging?
I want to change the php plug-in written by others. most of the code means that. I can see it clearly, but if I want to find the function source, or you can check whether a variable is running to a certain position or another break .. How to do this? I used notepad and notepad for online queries .. However, for systems with relatively small content written by these tools, a slightly large cms such as dede will have to survive,
What tools are used by developers to debug open-source code .. There is no easy-to-use tool ..

New students are hard to understand .. Share:
------ Solution --------------------
Let's take a look at others' experiences. in my own words, editplus will view and write the code print_r + exit, and will interrupt the use of the browser to gradually try to use firebug to view JS results and network requests /..... looks very primitive,

------ Solution --------------------
Like the one producer, it is also developed with editplus.
Question: vardump ()
Zookeeper uses the zend studio 5.5 single-step and failover methods for zookeeper.
------ Solution --------------------
Zengstudio click the function to see the function source.
------ Solution --------------------
Eclipse php
------ Solution --------------------
Html output is tested in the browser, echo + var_dump + exit
Write the php module and run the command line test (or simulate the console editor, such as sublime text)
------ Solution --------------------
Use your cpp to write an ide
------ Solution --------------------
I don't know what to debug? For convenience, find a good editor. I currently use phpdesign or phpstorm.
------ Solution --------------------
Directly use the command line> PHP-l path \ file. php that comes with php to check for syntax errors and tell you which line of code has an error. you do not need to use additional tools for convenience.
------ Solution --------------------
Xdebug
------ Solution --------------------
Var_dump ()
------ Solution --------------------
Var_dump () I use the thinkphp framework, which also has some internal debugging functions.
------ Solution --------------------
Always exit (); echo ""; var_dump (); add an error
------ Solution --------------------
Alas, I am also confused. I won't debug it. I switched to asp.net.
------ Solution --------------------
Reference:
Var_dump () I use the thinkphp framework, which also has some internal debugging functions.

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.