Skip to content

Commit beff45f

Browse files
author
Joe Jevnik
committed
DOC: Updates the readme to show how to swap out the cmd_manager
1 parent 3aec690 commit beff45f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Now that you have a server running, you may run a process under qdb.
5656
As an example, try saving the following as qdb_test.py:
5757

5858
```python
59-
import qdb
59+
from qdb import set_trace, RemoteCommandManager
6060

6161

6262
def f():
@@ -69,6 +69,7 @@ def main():
6969
uuid='qdb',
7070
host='localhost',
7171
port=8001,
72+
cmd_manager=RemoteCommandManager(),
7273
)
7374
mutable_object = {}
7475
print 'Hello world!'

qdb/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from qdb.comm import ( # NOQA
2121
RemoteCommandManager,
2222
ServerLocalCommandManager,
23+
TerminalCommandManager,
2324
)
2425

2526
# Populate the namespace with potentially user facing errors. This allows the
@@ -33,7 +34,7 @@
3334
QdbUnreachableBreakpoint,
3435
)
3536

36-
_version = '0.1.0'
37+
_version = '0.2.0'
3738

3839

3940
def set_trace(stop=True, **kwargs):

0 commit comments

Comments
 (0)