Debugged! is the premier debugging suite for WordPress theme and plugin developers (although everyone is certainly welcome to it!). It provides a simple to use and unobtrusive debugging bar (the location and display of which is configurable) which will allow you to check GET and POST variables, cookies, session variables and SQL queries at a glance, as well as providing a simple-to-use error checker and inline W3C validation.