mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 09:40:32 +00:00
91 lines
3.3 KiB
JSON
91 lines
3.3 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",
|
|
"RUSTFS_VOLUMES": "./target/volume/test{0...3}",
|
|
"RUSTFS_ADDRESS": "[::]:9000",
|
|
"RUSTFS_CONSOLE_ENABLE": "true",
|
|
"RUSTFS_CONSOLE_ADDRESS": "[::]:9002",
|
|
"RUSTFS_SERVER_DOMAINS": "localhost:9000",
|
|
"RUSTFS_TLS_PATH": "./deploy/certs",
|
|
"RUSTFS_OBS_CONFIG": "./deploy/config/obs.example.toml",
|
|
"RUSTFS__OBSERVABILITY__ENDPOINT": "http://localhost:4317",
|
|
"RUSTFS__OBSERVABILITY__USE_STDOUT": "true",
|
|
"RUSTFS__OBSERVABILITY__SAMPLE_RATIO": "2.0",
|
|
"RUSTFS__OBSERVABILITY__METER_INTERVAL": "30",
|
|
"RUSTFS__OBSERVABILITY__SERVICE_NAME": "rustfs",
|
|
"RUSTFS__OBSERVABILITY__SERVICE_VERSION": "0.1.0",
|
|
"RUSTFS__OBSERVABILITY__ENVIRONMENT": "develop",
|
|
"RUSTFS__OBSERVABILITY__LOGGER_LEVEL": "info",
|
|
"RUSTFS__SINKS__FILE__ENABLED": "true",
|
|
"RUSTFS__SINKS__FILE__PATH": "./deploy/logs/rustfs.log",
|
|
"RUSTFS__SINKS__WEBHOOK__ENABLED": "false",
|
|
"RUSTFS__SINKS__WEBHOOK__ENDPOINT": "",
|
|
"RUSTFS__SINKS__WEBHOOK__AUTH_TOKEN": "",
|
|
"RUSTFS__SINKS__KAFKA__ENABLED": "false",
|
|
"RUSTFS__SINKS__KAFKA__BOOTSTRAP_SERVERS": "",
|
|
"RUSTFS__SINKS__KAFKA__TOPIC": "",
|
|
"RUSTFS__LOGGER__QUEUE_CAPACITY": "10"
|
|
|
|
},
|
|
"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}"
|
|
}
|
|
]
|
|
} |