Debugserver debugging fixups.
This commit is contained in:
parent
9a3ddc0854
commit
6a14445c74
|
@ -18,13 +18,14 @@ import rlcompleter
|
||||||
import re
|
import re
|
||||||
|
|
||||||
def ddbg(msg):
|
def ddbg(msg):
|
||||||
|
# uncomment this to get lots of spam from debugserver
|
||||||
return
|
return
|
||||||
ddbg(msg)
|
dbg(msg)
|
||||||
|
|
||||||
class PythonConsoleServer(SocketServer.BaseRequestHandler):
|
class PythonConsoleServer(SocketServer.BaseRequestHandler):
|
||||||
env = None
|
env = None
|
||||||
def setup(self):
|
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))
|
ddbg('debugserver: env=%s' % repr(PythonConsoleServer.env))
|
||||||
self.console = TerminatorConsole(PythonConsoleServer.env)
|
self.console = TerminatorConsole(PythonConsoleServer.env)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue