From 6a14445c74cff1b3a97f5d621d49711f652bc388 Mon Sep 17 00:00:00 2001 From: Thomas Hurst Date: Thu, 7 Aug 2008 18:20:45 +0100 Subject: [PATCH] Debugserver debugging fixups. --- terminatorlib/debugserver.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/terminatorlib/debugserver.py b/terminatorlib/debugserver.py index ee685c4c..bed65dc5 100644 --- a/terminatorlib/debugserver.py +++ b/terminatorlib/debugserver.py @@ -18,13 +18,14 @@ import rlcompleter import re def ddbg(msg): + # uncomment this to get lots of spam from debugserver return - ddbg(msg) + dbg(msg) class PythonConsoleServer(SocketServer.BaseRequestHandler): env = None def setup(self): - ddbg('debugserver: connect from %s' % str(self.client_address)) + dbg('debugserver: connect from %s' % str(self.client_address)) ddbg('debugserver: env=%s' % repr(PythonConsoleServer.env)) self.console = TerminatorConsole(PythonConsoleServer.env)