Jump to content

HOW TO: Debugging PHP


falkencreative

Recommended Posts

  • 9 months later...

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...