{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'rproxy'",
"cargo": {
"args": [
"build",
"--bin=rproxy",
"--package=rproxy"
],
"filter": {
"name": "rproxy",
"kind": "bin"
}
},
"args": ["-c", "${workspaceFolder}/configs/sample.json"],
"cwd": "${workspaceFolder}"
},{
"type": "lldb",
"request": "launch",
"name": "Debug TCP executable 'rproxy'",
"cargo": {
"args": [
"build",
"--bin=rproxy",
"--package=rproxy"
],
"filter": {
"name": "rproxy",
"kind": "bin"
}
},
"args": ["-r", "10.70.80.5:8001", "-b", "0.0.0.0:8000", "-p", "TCP", "-d"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'rproxy'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=rproxy",
"--package=rproxy"
],
"filter": {
"name": "rproxy",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}