cloudflare-ddns-service/.vscode/launch.json

50 lines
1.5 KiB
JSON
Raw Normal View History

2020-03-22 19:58:37 +00:00
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
2020-04-21 08:04:56 +00:00
"version": "0.3.0",
2020-03-22 19:58:37 +00:00
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug 'cloudflare-ddns'",
"cargo": {
"args": [
"build",
"--bin=cloudflare-ddns",
"--package=cloudflare-ddns"
],
"filter": {
"name": "cloudflare-ddns",
"kind": "bin"
}
},
"args": [
"--key=${env:DDNS_AUTH_KEY}",
"--domain=${env:DOMAIN}",
"--email=${env:EMAIL}",
"--zone=${env:ZONE}"
],
2020-03-22 19:58:37 +00:00
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in 'cloudflare-ddns'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=cloudflare-ddns",
"--package=cloudflare-ddns"
],
"filter": {
"name": "cloudflare-ddns",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}