{// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version":"0.2.0","configurations":[{"python":"/home/CN/bo.feng/anaconda3/envs/nerf-pytorch/bin/python",// 这里指定使用哪个python解释器,如果未指定,此设置默认为为您的工作区选择的解释器,相当于使用值 ${command:python.interpreterPath} 。"name":"Python: Current File","type":"python","request":"launch","program":"/home/CN/bo.feng/NerfMap/nerf-pytoch/run_nerf.py",// 这个指定用 python 运行那个文件"console":"integratedTerminal",//VS 代码集成终端。如果 redirectOutput 设置为 True,则输出也会显示在调试控制台中。"justMyCode":false,//当省略或设置为 true (默认值)时,将调试仅限于用户编写的代码。设置为 false 还可以启用标准库函数的调试。"args":["--config","config/lego.txt"],// 这个指定模型传入的参数,就是在命令行里面的参数"env":{"CUDA_VISIBLE_DEVICES":"0"}// 这个是全局的环境变量,一般常用到的就是指定哪一块GPU了}]}