title: Access Add-on SDK module from the scratchpad
body: <p>I'd like to test small snippets of my add-on code using the scratchpad. In this case, I'm trying to access the notifications module like so:</p>
  
  <pre><code>const { notify } = require("sdk/notifications");
  notify({
    //My notification's options
  }); 
  </code></pre>
  
  <p>As expected, I get the error <code>Exception: require is not defined</code>. As the Add-on SDK is packaged with Firefox, I'm wondering if there's a way to access the modules directly from the scratchpad. Thanks.</p>
  
  <hr>
  
  <p>Edit: After some Googling, I found <a href="https://github.com/Gozala/scratch-kit/" rel="nofollow">scratch-kit (github)</a>, an add-on that does exactly what I'm trying to do. But it is <a href="https://github.com/Gozala/scratch-kit/issues/16" rel="nofollow">unfortunately broken</a>, so I've <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=985181" rel="nofollow">filed a bug</a> in hopes that this functionality will be added to the devtools.</p>