From 24e3db2360c8d2aee068c70d0f56e4db6976db49 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Mon, 23 Dec 2019 11:57:42 -0500 Subject: [PATCH] Setup debugging configuration --- .vscode/launch.json | 82 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..027755f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,82 @@ +{ + // 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 executable 'youmubot-osu'", + "cargo": { + "args": [ + "build", + "--bin=youmubot-osu", + "--package=youmubot-osu" + ], + "filter": { + "name": "youmubot-osu", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in executable 'youmubot-osu'", + "cargo": { + "args": [ + "test", + "--no-run", + "--bin=youmubot-osu", + "--package=youmubot-osu" + ], + "filter": { + "name": "youmubot-osu", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug executable 'youmubot'", + "cargo": { + "args": [ + "build", + "--bin=youmubot", + "--package=youmubot" + ], + "filter": { + "name": "youmubot", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in executable 'youmubot'", + "cargo": { + "args": [ + "test", + "--no-run", + "--bin=youmubot", + "--package=youmubot" + ], + "filter": { + "name": "youmubot", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + } + ] +} \ No newline at end of file