Start firefox / iceweasel with the following environment set:
ICEDTEAPLUGIN_DEBUG=true iceweasel