aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-13 16:47:16 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-13 16:47:16 +0000
commit22926813345e5f0046b846cd7817e9483ad4c8e6 (patch)
treeacfc4845df13da0844b781d9a18ebeeba43e1f31
parent2a2cad9354e899fa367d8e5b8637e83400a3877c (diff)
downloadprosody-22926813345e5f0046b846cd7817e9483ad4c8e6.tar.gz
prosody-22926813345e5f0046b846cd7817e9483ad4c8e6.zip
Add support for remote debugger
-rw-r--r--main.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index eac26fe5..36afa58e 100644
--- a/main.lua
+++ b/main.lua
@@ -32,6 +32,9 @@ require "core.usermanager"
require "core.sessionmanager"
require "core.stanza_router"
+pcall(require, "remdebug.engine");
+if remdebug then remdebug.engine.start() end
+
local start = require "net.connlisteners".start;
require "util.stanza"
require "util.jid"