How to debug breakpoint in pycharm at the end of file without adding a dummy line?

Viewed 60

Normally, if I want to run a python file beginning-to-end in pycharm, but stop at the end so I can see all the variables etc., I add a line at the end of the file like

justadummyvar = 3

And attach a breakpoint to it.

Is there a way to just tell pycharm to debug run the file and stop at the end before flushing memory so I can get the same effect without changing the file contents?

0 Answers
Related