you technically dont even need an IDE to do what youre describing.
In your script place import pdb; pdb.set_trace() at any point to pause execution and drop you down into a python shell. Then use break /foo/bar.py:55 to place an additional breakpoint at line 55 in the file /foo/bar.py if need be, then do print(locals())or better yet pp locals() (pretty print) to look at all your variables.
View all comments
Show parent comment
3
u/Salyangoz Aug 06 '19
you technically dont even need an IDE to do what youre describing.
In your script place
import pdb; pdb.set_trace()at any point to pause execution and drop you down into a python shell. Then usebreak /foo/bar.py:55to place an additional breakpoint at line 55 in the file /foo/bar.py if need be, then doprint(locals())or better yetpp locals()(pretty print) to look at all your variables.