Add an example for the debugging module (#50197)

+label: docsite_pr
pull/59119/head
Rémy Léone 5 years ago committed by Sandra McCann
parent 262c9ffdb6
commit 30206d3066

@ -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()`` - 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`` - 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) Debugging (remote)
================== ==================

Loading…
Cancel
Save