How should a PHP & WordPress beginner debug PHP?
-
As a novice developer using php in the context of WordPress, I would like to know the best ways (tools, workflows, or resources) to learn how to debug php, while also learning it (php/wordpress) at the same time. Something like xdebug or firephp seem to advanced. I would like to use something similar in feel to ruby irb, where I could tinker with different functions.
-
Answer:
Don't learn PHP if you can avoid it. Learn Javascript, and Python and then Ruby as you have to. You will be a poor programmer if you do not learn to discriminate.
Ciaran O'Donnell at Quora Visit the source
Other answers
Netbeans has a pretty good visual debugger for PHP. You need to install Xdebug first, which is a bit of a pain, but there are plenty of resources online on how to do it. Once it's set up, you can step through any php code including Wordpress.
Dave Hagler
Related Q & A:
- How to pass parameter in wordpress url?Best solution by Stack Overflow
- How to dynamically create a PHP class name on the fly?Best solution by stackoverflow.com
- How to store data in php and get data from php?Best solution by Stack Overflow
- How to make a php article counter?Best solution by Stack Overflow
- How to start creating a php script, that will be installed on many servers?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.