Bug 962541 - Allow debugging the same app on subsequent connections. r=paul

This commit is contained in:
Alexandre Poirot 2014-02-03 09:43:28 -05:00
parent c15179eeee
commit ae0081be73

View File

@ -1,3 +1,12 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
// Encapsulate in its own scope to allows loading this frame script
// more than once.
(function () {
const {DevToolsUtils} = Cu.import("resource://gre/modules/devtools/DevToolsUtils.jsm", {});
const {DebuggerServer, ActorPool} = Cu.import("resource://gre/modules/devtools/dbg-server.jsm", {});
@ -31,3 +40,4 @@ let onConnect = DevToolsUtils.makeInfallible(function (msg) {
});
addMessageListener("debug:connect", onConnect);
})();