Debugserver debugging fixups.

This commit is contained in:
Thomas Hurst 2008-08-07 18:20:45 +01:00
parent 9a3ddc0854
commit 6a14445c74
1 changed files with 3 additions and 2 deletions

View File

@ -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)