vscode远程调试 bash 文件的 launch.json写法示例

{

"version": "0.2.0",

"configurations": [

{

"name": "${workspace}/train_net.py",

"type": "python",

"request": "launch",

"args": [

"--config-file",

"configs/coco-stuff-164k-156/mask2former_maft.yaml",

"--num-gpus",

"1"

],

"program": "${file}",

"console": "integratedTerminal",

"env": {

"DETECTRON2_DATASETS": "/home/zhongqiang.zhang/data/"

}

}

]

}


 

你可能感兴趣的:(vscode,bash,json)