Skip to content

Commit

Permalink
minor example update
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacbernat committed Dec 29, 2019
1 parent 7d7e48c commit 05aa442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ docker build -t pudb-example .
docker run -p 6900:6900 --detach pudb-example
# Connect to pudb via telnet
telnet 127.0.0.1 6900
# Enjoy debugging!
# Enjoy debugging and star the repo if you liked it!
```

## Acknowledgements
Expand Down
2 changes: 2 additions & 0 deletions app/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ def sum_strings(a, b):
except Exception:
from pudb.remote import set_trace
set_trace(term_size=(160, 40), host='0.0.0.0', port=6900)
print(a)
print(b)
return float(a) + float(b)


Expand Down

0 comments on commit 05aa442

Please sign in to comment.