Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Caveman PHP Debugging
Nov 16, 2005 @ 05:38:49

On CodeSnipers.com today, there's this new post that aims to help with the debugging of your PHP scripts - "caveman style".

Certainly it's possible to have nice debugging tools for php (ZEND has one), unfortunately I have not had the experience of any so I will tell you how I debug php - caveman style!

Nola breaks it up into three sections:

  • Poke it with a stick (insert debug statements)
  • Bring out the club (dumping/viewing variable contents)
  • Push the boulder (using a class like Lens Debug)

There's also some code in the comments that will direct you toward one of my favorite methods - the popup Javascript output...

tagged: caveman debugging lens debug caveman debugging lens debug