Provides the JavaScript Debugger service. You should usually interface with this using the JavaScript code module instead of directly. See the JavaScript Debugger API Guide for details.
Gecko 9.0
Inherits from: nsISupports Last changed in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)

Implemented by: @mozilla.org/jsdebugger;1 as a service:

var jsDebugger = Components.classes["@mozilla.org/jsdebugger;1"]
Note: You should almost never directly use this service; instead, you should use the JavaScript code module that does this for you. The only time you should directly use this interface to create the Debugger object is if you need to debug chrome; due to bugĀ 707237, the JavaScript code module doesn't work in that case. See the JavaScript Debugger API Guide for details on using the Debugger API.

Method overview

[implicit_jscontext] void addClass();



Defines the global Debugger constructor. On return, the Debugger object has been added to the global context.

[implicit_jscontext] void addClass();


See also

Document Tags and Contributors

 Contributors to this page: Sebastianz, Sheppy, fscholz
 Last updated by: Sebastianz,