Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from IPython.core.debugger import set_trace
- def some_fun(x):
- answer = 42
- # import pdb; pdb.set_trace() -- this is ok, but no highlighting, less convenient than IPython.core.debugger
- set_trace()
- answer += x
- return answer
- some_fun(12)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement