The ui:debug tag does exactly what you are looking for. This tag will let you see the debugging information when a key combination is pressed when the page loads on the browser. The default key combination is CTRL + SHIFT + d. But that combination is used for other purposes in most modern browsers. So you might want to specify your own "hotkey" attribute.
[Message sent by forum member 'babus_18']
http://forums.java.net/jive/thread.jspa?messageID=483178