HOW TO use Pycharm to debug python script?

后端 未结 4 1765
不思量自难忘°
不思量自难忘° 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:46

    Simply from the context menu by clicking on a needed tab, link https://www.jetbrains.com/help/pycharm/starting-the-debugger-session.html

    It will launch debug session in the background, like

    /usr/local/bin/python3.7 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py" --cmd-line --multiproc --qt-support=auto --client 127.0.0.1 --port 56411 --file /Users/proskuryakovivan/code/audio/test.py
    

提交回复
热议问题