{ // 使用 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" ], } ] }