mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-31 17:28:12 +00:00
fix: debug
This commit is contained in:
Vendored
+55
-15
@@ -10,25 +10,65 @@
|
|||||||
"name": "Debug executable 'rustfs'",
|
"name": "Debug executable 'rustfs'",
|
||||||
"cargo": {
|
"cargo": {
|
||||||
"args": [
|
"args": [
|
||||||
"run",
|
"build",
|
||||||
"--",
|
"--bin=rustfs",
|
||||||
"--access-key",
|
"--package=rustfs"
|
||||||
"AKEXAMPLERUSTFS",
|
|
||||||
"--secret-key",
|
|
||||||
"SKEXAMPLERUSTFS",
|
|
||||||
"--address",
|
|
||||||
"0.0.0.0:9010",
|
|
||||||
"--domain-name",
|
|
||||||
"127.0.0.1:9010",
|
|
||||||
"./target/volume/test{0...4}"
|
|
||||||
],
|
],
|
||||||
// "filter": {
|
"filter": {
|
||||||
// "name": "rustfs",
|
"name": "rustfs",
|
||||||
// "kind": "bin"
|
"kind": "bin"
|
||||||
// }
|
}
|
||||||
|
},
|
||||||
|
"args": [
|
||||||
|
"--access-key",
|
||||||
|
"rustfs",
|
||||||
|
"--secret-key",
|
||||||
|
"rustfs",
|
||||||
|
"--address",
|
||||||
|
"0.0.0.0:9010",
|
||||||
|
"--domain-name",
|
||||||
|
"127.0.0.1:9010",
|
||||||
|
"/tmp/rustfs/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": [],
|
"args": [],
|
||||||
"cwd": "${workspaceFolder}"
|
"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}"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user