| components.conf |
|
686 |
- |
| IJSDebugger.idl |
Do not use this interface. Instead, write:
const { addDebuggerToGlobal } = ChromeUtils.importESModule(
"resource://gre/modules/jsdebugger.sys.mjs"
);
addDebuggerToGlobal(global);
|
684 |
- |
| JSDebugger.cpp |
stopAtWindowProxy = |
1225 |
76 % |
| JSDebugger.h |
JSDebugger_h |
543 |
- |
| jsdebugger.sys.mjs |
This is the js module for Debugger. Import it like so:
const { addDebuggerToGlobal } = ChromeUtils.importESModule(
"resource://gre/modules/jsdebugger.sys.mjs"
);
addDebuggerToGlobal(globalThis);
This will create a 'Debugger' object, which provides an interface to debug
JavaScript code running in other compartments in the same process, on the
same thread.
For documentation on the API, see:
https://developer.mozilla.org/en-US/docs/Tools/Debugger-API
|
3219 |
79 % |
| moz.build |
|
711 |
- |
| nsIJSInspector.idl |
Utilities for running nested event loops, asking them to return, and
keeping track of which ones are still running.
|
3189 |
- |
| nsJSInspector.cpp |
|
3154 |
92 % |
| nsJSInspector.h |
|
874 |
100 % |
| tests |
|
|
- |