Newbie question: Can you set a breakpoint and drop into interactive mode from command line in pycharm 3?
I am testing out pycharm and trying to work on django project with pycharm 3.4.1 . At the command line shell I have a function that I imported:
>>> import v1.views
>>> v1.views.get_data_from_text_file("kk")
I have set a breakpoint in the function's code, but when I try to execute at the command line using:
>>> v1.views.get_data_from_text_file("kk")
It doesn't stop. Is there a way to drop into interactive mode while testing at the command line?
>>> import v1.views
>>> v1.views.get_data_from_text_file("kk")
I have set a breakpoint in the function's code, but when I try to execute at the command line using:
>>> v1.views.get_data_from_text_file("kk")
It doesn't stop. Is there a way to drop into interactive mode while testing at the command line?
2 comments
Sort by
Date
Votes
There is a 'bug' icon in the console window with the tooltip 'Attach Debugger'. (Using PyCharm Pro 3.4.1 here.)
Thank you very much!
Please sign in to leave a comment.