2019-05-01 13:00:29 -07:00
|
|
|
{
|
|
|
|
|
"version": "0.2.0",
|
|
|
|
|
"configurations": [
|
|
|
|
|
{
|
|
|
|
|
"type": "lldb",
|
|
|
|
|
"request": "launch",
|
|
|
|
|
"name": "Debug executable",
|
|
|
|
|
"cargo": {
|
|
|
|
|
"args": [
|
|
|
|
|
"build",
|
|
|
|
|
"--bin=hello_remote_world",
|
|
|
|
|
"--package=hello_remote_world",
|
|
|
|
|
"--manifest-path=Cargo.toml"
|
|
|
|
|
],
|
|
|
|
|
"filter": {
|
|
|
|
|
"kind": "bin"
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-10-21 14:05:16 +08:00
|
|
|
"args": [],
|
|
|
|
|
// 添加环境变量解决文件锁问题
|
|
|
|
|
"env": {
|
|
|
|
|
"CARGO_REGISTRIES_CRATES_IO_PROTOCOL": "sparse"
|
|
|
|
|
},
|
2019-05-01 13:00:29 -07:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|