在Vscode中调试python时,我确实设置了启动.json用于将参数传递给具有"args"
字段的脚本。在
{
"name": "Python: Current File (Integrated Terminal)",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": [
//"src\\vhdl\\counter-e.vhd",
//"src\\vhdl\\counter-rtl-a.vhd"
"--help"
],
},
当我传递特定的参数时,工作正常,但我想检查参数-h
或{ptvsd_launcher.py
的帮助,我得到了该脚本的输出,而不是我的脚本,它不会执行:
这种行为怎么能逃脱呢?在
目前没有回答
相关问题 更多 >
编程相关推荐