From 601445e9738c3e793e67365ee642fef9e496be40 Mon Sep 17 00:00:00 2001 From: Rostislav Raykov Date: Sun, 22 Mar 2020 20:58:37 +0100 Subject: [PATCH] chore: Add simple vscode debug config --- .vscode/launch.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..a8af742 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,45 @@ +{ + // 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 + "version": "0.2.0", + "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": [], + "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}" + } + ] +} \ No newline at end of file