mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-29 09:38:59 +00:00
7462be983a
* fix delete-marker expiration. add api_restore. * time retry object upload * lock file * make fmt * restore object * serde-rs-xml -> quick-xml * scanner_item prefix object_name * object_path * object_name * fi version_purge_status * old_dir None Co-authored-by: houseme <housemecn@gmail.com>
103 lines
3.1 KiB
JSON
103 lines
3.1 KiB
JSON
{
|
|
// 使用 IntelliSense 了解相关属性。
|
|
// 悬停以查看现有属性的描述。
|
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug executable 'rustfs'",
|
|
"cargo": {
|
|
"args": [
|
|
"build",
|
|
"--bin=rustfs",
|
|
"--package=rustfs"
|
|
],
|
|
"filter": {
|
|
"name": "rustfs",
|
|
"kind": "bin"
|
|
}
|
|
},
|
|
"env": {
|
|
"RUST_LOG": "rustfs=debug,ecstore=info,s3s=debug"
|
|
},
|
|
"args": [
|
|
"--access-key",
|
|
"AKEXAMPLERUSTFS",
|
|
"--secret-key",
|
|
"SKEXAMPLERUSTFS",
|
|
"--address",
|
|
"0.0.0.0:9010",
|
|
"--domain-name",
|
|
"127.0.0.1:9010",
|
|
"./target/volume/test{0...4}"
|
|
],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug unit tests in executable 'rustfs'",
|
|
"cargo": {
|
|
"args": [
|
|
"test",
|
|
"--no-run",
|
|
"--bin=rustfs",
|
|
"--package=rustfs"
|
|
],
|
|
"filter": {
|
|
"name": "rustfs",
|
|
"kind": "bin"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug unit tests in library 'ecstore'",
|
|
"cargo": {
|
|
"args": [
|
|
"test",
|
|
"--no-run",
|
|
"--lib",
|
|
"--package=ecstore"
|
|
],
|
|
"filter": {
|
|
"name": "ecstore",
|
|
"kind": "lib"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Debug executable target/debug/rustfs",
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/target/debug/rustfs",
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}",
|
|
//"stopAtEntry": false,
|
|
//"preLaunchTask": "cargo build",
|
|
"sourceLanguages": [
|
|
"rust"
|
|
],
|
|
},
|
|
{
|
|
"name": "Debug executable target/debug/test",
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/target/debug/deps/lifecycle_integration_test-5eb7590b8f3bea55",
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}",
|
|
//"stopAtEntry": false,
|
|
//"preLaunchTask": "cargo build",
|
|
"sourceLanguages": [
|
|
"rust"
|
|
],
|
|
}
|
|
]
|
|
} |