[Answer]-Can you set a breakpoint and drop into interactive mode from command line in pycharm 3?

1đź‘Ť

but when I try to execute at the command line using

It won’t stop because PyCharm debugs by importing its own specific python files. Since you’re using the command line, the interpreter does not know about where you’re setting breakpoints.

You can configure your script parameters like so:

enter image description here

enter image description here

The red arrow indicates where you should put in your script name, usually is is already filled up for you. The orange one is where you need to place your arguments.

0đź‘Ť

enter image description here

I finally figured it out: All you have to do is click on the “bug” button while you are working at the python or django console. You will see it says: “Debugger connected.” and breakpoints will then work.

👤user1592380

Leave a comment