title: Debug print from a bootstrapped Firefox4 extension
body: <p>I'm rewriting a Firefox extension to be bootstrapped (restartless). I've patched rdf with a node &lt; bootstrapped >. Then I introduced file "bootstrap.js":</p>
  
  <pre><code>function startup(data, reason) { dump("startup") }
  function void shutdown(data, reason) {}
  </code></pre>
  
  <p>The extension was installed visually correctly and it stopped to work (that means correctness too). But I have no clue how to debug my extension without debug prints: dump() does not work (jconsole stays empty), alert() too. I'm not sure even the function startup() had been invoked actually. How to make sure?</p>