Is there an interactive PHP testing tool for Drupal?
If you are running locally, you can install Netbeans and Xdebug and set break points, watches and everything. 

If you want just a little better then drupal_set_message() you can run devel and the output from dpm() will be formatted by Krumo. That's at least helpful.