HOW TO use Pycharm to debug python script?

后端 未结 4 1768
不思量自难忘°
不思量自难忘° 2020-12-15 18:14

I\'m trying to use pycharm. I can write code and run it. However, I do not know how to to debug the code. When I click the debug button, I get something similar to the belo

4条回答
  •  没有蜡笔的小新
    2020-12-15 18:57

    I'd like to illustrate how to set parameters, as it took me a while to do this right:

    Find the drop-down menu next to the "Run" button:
    enter image description here

    Choose the file you want to configure, then click "Edit Configurations":
    enter image description here

    Add script parameters:
    enter image description here

提交回复
热议问题