Sorry for posting this here, but I could not find a better place for it.
I am trying to debug a XULRunner application, so I tried to do what this guide says, but it seems to be out of date.
Components.utils.import('resource://gre/modules/devtools/dbg-server.jsm');
if (!DebuggerServer.initialized) {
DebuggerServer.init();
// Don't specify a window type parameter below if "navigator:browser"
// is suitable for your app.
DebuggerServer.addBrowserActors("myXULRunnerAppWindowType");
}
DebuggerServer.openListener(6000);
The problem is, that DebuggerServer.openListener() seemingly no longer exists (at least that is the error thrown). I am running the XULRunner application via Firefox Developer Edition (43.0a2 (2015-10-07)).
I would greatly appreciate any help or suggestion on how to get this working (or even a suggestion for a possibly better place to ask this).
Thanks.