parent
262c9ffdb6
commit
30206d3066
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@ To break into a module running on ``localhost`` and step through with the debugg
|
|||
- Set a breakpoint in the module: ``import pdb; pdb.set_trace()``
|
||||
- Run the module on the local machine: ``$ python -m pdb ./my_new_test_module.py ./args.json``
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
`echo '{"msg": "hello"}' | python ./my_new_test_module.py`
|
||||
|
||||
Debugging (remote)
|
||||
==================
|
||||
|
||||
|
|
Loading…
Reference in a new issue