32 lines
977 B
JSON
32 lines
977 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug yams-daemon (LLDB)",
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/build/yams-debug/src/daemon/yams-daemon",
|
|
"args": ["--log-level", "debug", "--foreground"],
|
|
"cwd": "${workspaceFolder}",
|
|
"preLaunchTask": "build (Debug)",
|
|
"env": {
|
|
"YAMS_LOG_LEVEL": "debug",
|
|
"YAMS_STORAGE": "/Volumes/picaso/yams",
|
|
"ASAN_OPTIONS": "fast_unwind_on_malloc=0:strict_string_checks=1"
|
|
},
|
|
"stdio": [null, null, null]
|
|
},
|
|
{
|
|
"name": "Attach to yams-daemon (LLDB)",
|
|
"type": "lldb",
|
|
"request": "attach",
|
|
"pid": "${command:pickProcess}",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"YAMS_LOG_LEVEL": "debug",
|
|
"ASAN_OPTIONS": "fast_unwind_on_malloc=0:strict_string_checks=1:sleep_before_dying=10",
|
|
"LSAN_OPTIONS": "use_tls=0:verbosity=1:log_threads=1"
|
|
}
|
|
}
|
|
]
|
|
}
|