python - Can you set a breakpoint and drop into interactive mode from command line in pycharm 3? -
python - Can you set a breakpoint and drop into interactive mode from command line in pycharm 3? -
i working on django project pycharm 3.4.1 . @ command line shell have function imported:
>>> import v1.views >>> v1.views.get_data_from_text_file("kk")
i have set breakpoint in function's code, when seek execute @ command line using:
>>> v1.views.get_data_from_text_file("kk")
it doesn't stop. there way drop interactive mode while testing @ command line?
but when seek execute @ command line using
it won't stop because pycharm debugs importing own specific python files. since you're using command line, interpreter not know where you're setting breakpoints.
you can configure script parameters so:
the reddish arrow indicates should set in script name, is filled you. orange 1 need place arguments.
python django pycharm
Comments
Post a Comment