VS code 远程python代码debug

远程安装Python和Python Debugger

对于以下命令,可以设置launch.json:

python slide_inference_stats.py --csv_path '/proj01/zhengyiran/04.BC1600Lite/00.data/01.slide_info/NK_slides_info默默20251215至20251224TEST.csv' --json_folders '/proj01/zhengyiran/04.BC1600Lite/03.plots/rknn/NK/BC1600.6.20251104' --model_type '6' --config_path '.../hyps/config.json' --output_dir /proj01/zhengyiran/04.BC1600Lite/04.results/00.model_inference_stats/rknn

{

"version": "0.2.0",

"configurations": [

{

"name": "Python: slide_inference_stats.py",

"type": "python",

"request": "launch",

"cwd": "/proj01/zhengyiran/04.BC1600Lite/01.code/00.bc1600_model_devlop/regresson_test",

"program": "/proj01/zhengyiran/04.BC1600Lite/01.code/00.bc1600_model_devlop/regresson_test/slide_inference_stats.py",

"pythonPath": "/home/zhengyiran/.conda/envs/uv1610/bin/python",

"args": [

"--csv_path",

"/proj01/zhengyiran/04.BC1600Lite/00.data/01.slide_info/NK_slides_info默默20251215至20251224.csv",

"--json_folders",

"/proj01/zhengyiran/04.BC1600Lite/03.plots/rknn/NK/BC1600.6.20251104",

"--model_type",

"6",

"--config_path",

".../hyps/config.json",

"--output_dir",

"/proj01/zhengyiran/04.BC1600Lite/04.results/00.model_inference_stats/rknn"

],

"console": "integratedTerminal",

"justMyCode": true,

}

]

}

相关推荐
AC赳赳老秦2 小时前
Python 爬虫进阶:DeepSeek 优化反爬策略与动态数据解析逻辑
开发语言·hadoop·spring boot·爬虫·python·postgresql·deepseek
浩瀚之水_csdn2 小时前
Python 三元运算符详解
开发语言·python
_道隐_2 小时前
Android里面的layer、DisplayList和hardwarebuffer之间是什么关系
android
zgl_200537792 小时前
ZGLanguage 解析SQL数据血缘 之 标识提取SQL语句中的目标表
java·大数据·数据库·数据仓库·hadoop·sql·源代码管理
liwulin05062 小时前
【JAVA】创建一个不需要依赖的websocket服务器接收音频文件
java·服务器·websocket
钦拆大仁2 小时前
统一数据返回格式和统一异常处理
java
czlczl200209252 小时前
OAuth 2.0 解析:后端开发者视角的原理与流程讲解
java·spring boot·后端
Yuner20002 小时前
Python机器学习:从入门到精通
python
颜淡慕潇2 小时前
Spring Boot 3.3.x、3.4.x、3.5.x 深度对比与演进分析
java·后端·架构
g***55752 小时前
Java高级开发进阶教程之系列
java·开发语言