1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include
"nsISupports.idl"
8 * Do not use this interface. Instead, write:
9 * const { addDebuggerToGlobal } = ChromeUtils.importESModule(
10 * "resource://gre/modules/jsdebugger.sys.mjs"
12 * addDebuggerToGlobal(global);
14 [scriptable
, uuid(a36fa816
-31da
-4b23
-bc97
-6412771f0867
)]
15 interface IJSDebugger
: nsISupports
18 * Define the global Debugger constructor on a given global.
21 void addClass
(in jsval global
);