test debug

This commit is contained in:
weisd
2024-07-25 17:48:17 +08:00
parent 4b289122c1
commit c130037574

34
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,34 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'rustfs'",
"cargo": {
"args": [
"run",
"--",
"--access-key",
"AKEXAMPLERUSTFS",
"--secret-key",
"SKEXAMPLERUSTFS",
"--address",
"0.0.0.0:9010",
"--domain-name",
"127.0.0.1:9010",
"./target/volume/test{0...4}"
],
// "filter": {
// "name": "rustfs",
// "kind": "bin"
// }
},
"args": [],
"cwd": "${workspaceFolder}"
},
]
}