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,

}

]

}

相关推荐
JavaGuide1 小时前
一款悄然崛起的国产规则引擎,让业务编排效率提升 10 倍!
java·spring boot
吃虫子的人1 小时前
记录使用Arthas修改线上源码重新加载的一次过程
java·arthas
一晌小贪欢1 小时前
Python 爬虫进阶:如何利用反射机制破解常见反爬策略
开发语言·爬虫·python·python爬虫·数据爬虫·爬虫python
躺平大鹅1 小时前
5个实用Python小脚本,新手也能轻松实现(附完整代码)
python
yukai080082 小时前
【最后203篇系列】039 JWT使用
python
figo10tf2 小时前
Spring Boot项目集成Redisson 原始依赖与 Spring Boot Starter 的流程
java·spring boot·后端
zhangyi_viva2 小时前
Spring Boot(七):Swagger 接口文档
java·spring boot·后端
橙露2 小时前
Spring Boot 核心原理:自动配置机制与自定义 Starter 开发
java·数据库·spring boot
doupoa2 小时前
内存指针是什么?为什么指针还要有偏移量?
android·c++