falkencreative Posted September 25, 2009 Report Share Posted September 25, 2009 I ran across this article just recently which has some good advice on how to go about debugging PHP. Figured it might come in handy to those who are just getting started with PHP. http://carsonified.com/blog/dev/how-to-debug-in-php/ Quote Link to comment Share on other sites More sharing options...
bishwadeep Posted July 8, 2010 Report Share Posted July 8, 2010 For code debugging i use a dBug class which you can download at http://dbug.ospinto.com/. I think this is the best help while you code php. Example: include("dBug.php"); $a=array('a','b','c'); new Dbug($a); Quote Link to comment Share on other sites More sharing options...
jstern Posted July 8, 2010 Report Share Posted July 8, 2010 I am a huge supporter of XDebug and find it works very very well. I like to use Netbeans IDE for my development, but XDebug doesn't play all that well with it yet. When im in Debugging mode, i switch to Eclipse IDE. Very easy setup with XDebug and i can step through code and do unit tests ect very easily. When doing simple dumps to screen - Zend_Debug::dump($var); works well for my purposes. Gives me a lot more information than a var_dump. Of course you'd need to be in the Zend Framework (im sure) for this one. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.