In order to debug Gadgets in hosted mode, you must make the
generated Gadget manifest available to a Gadget container such as iGoogle or Apache
Shindig. Compile and publish your Gadget in the usual fashion, start
hosted-mode with the -noserver
option, then visit the
gadget container with the hosted-mode browser.