Diff

main.lua @ 245:5dc6ae7b5ce8

Add support for remote debugger
author Matthew Wild <mwild1@gmail.com>
date Thu, 13 Nov 2008 16:47:16 +0000
parent 230:e46525f5b2a4
child 260:182f0c895676
line wrap: on
line diff
--- a/main.lua	Thu Nov 13 03:56:22 2008 +0000
+++ b/main.lua	Thu Nov 13 16:47:16 2008 +0000
@@ -32,6 +32,9 @@
 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"