vscode配置debug的环境
配置好python解释器,
ctrl + shift + P 就可以指定python了。
{"version": "0.2.0","configurations": [{"name": "Python: 当前文件","type": "python","request": "launch","program": "${file}","justMyCode": false,"console": "integratedTerminal","args": ["--config", "exp/ds_tcn/config.yaml"]}]
}
设置好断点,即可以 F5 运行,debug了。
参考网页
python vscode debug网页
https://www.cnblogs.com/wutou/p/17019701.html