summaryrefslogtreecommitdiff
path: root/common/content/completion.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/completion.js')
-rw-r--r--common/content/completion.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/common/content/completion.js b/common/content/completion.js
index 5dc83621..ae025167 100644
--- a/common/content/completion.js
+++ b/common/content/completion.js
@@ -1289,6 +1289,20 @@ const Completion = Module("completion", {
}, {
EVAL_TMP: "__liberator_eval_tmp"
})
+}, {
+ options: function () {
+ options.add(["jsdebugger", "jsd"],
+ "Switch on/off jsdebugger",
+ "boolean", false, {
+ setter: function(value) {
+ if (value)
+ services.get("debugger").on();
+ else
+ services.get("debugger").off();
+ },
+ getter: function () services.get("debugger").isOn
+ });
+ },
});
// vim: set fdm=marker sw=4 ts=4 et: