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:
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.
👤Games Brainiac
0đź‘Ť
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
- [Answer]-Not getting the Dropdown's data in Django view
- [Answer]-Djangocms-snippet which contains {% %} doesnot show up as placeholder content
- [Answer]-Django Admin tables not displaying correctly
- [Answer]-Show all model instances regardless of site in django admin
Source:stackexchange.com