@mozilla.org/jsdebugger;1 as a service:
var jsDebugger = Components.classes["@mozilla.org/jsdebugger;1"] .createInstance(Components.interfaces.IJSDebugger);
Defines the global
Debugger constructor. On return, the
Debugger object has been added to the global context.
[implicit_jscontext] void addClass();