[英]How can I debug a shell script file containing an executable command in pycharm?
我有一個 shell 腳本文件,其中包含運行 Python 文件所需的參數。 我只能用 pycharm green button on the top right
運行這個腳本,但是當我 select 調試選項時,它很快就退出了調試模式。 此腳本文件包含python 3 command
。
如何使用此腳本調試代碼?
您要求 PyCharm 同時調試兩種不同的編程語言。 相反,使用所有必要的參數為 Python 腳本創建一個調試配置: https://www.jetbrains.com/help/pycharm/creating-and-editing-run-debug-configurations.ZFC336E8838A
這可能需要一些時間來設置,但是您將能夠設置斷點並調試您的 Python 腳本。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.