Enter debug mode. Use 'hex' for hexdump: debug [hex]
(self, arg)
| 158 | |
| 159 | # ------------------------[ debug ]----------------------------------- |
| 160 | def do_debug(self, arg): |
| 161 | "Enter debug mode. Use 'hex' for hexdump: debug [hex]" |
| 162 | self.debug = not self.debug |
| 163 | # set hex mode (= ascii + hexdump) |
| 164 | if arg == "hex": |
| 165 | self.debug = "hex" |
| 166 | if self.conn: |
| 167 | self.conn.debug = self.debug |
| 168 | print(("Debug mode on" if self.debug else "Debug mode off")) |
| 169 | |
| 170 | # ==================================================================== |
| 171 |
nothing calls this directly
no outgoing calls
no test coverage detected