From bd30081971ecc226a4d0060ad23ca48b7c8c3c35 Mon Sep 17 00:00:00 2001 From: Giovani Date: Fri, 9 Jul 2021 23:19:42 -0400 Subject: [PATCH] chore: add vscode launch 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..2fdc151 --- /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 executable 'todara'", + "cargo": { + "args": [ + "build", + "--bin=todara", + "--package=todara" + ], + "filter": { + "name": "todara", + "kind": "bin" + } + }, + "args": ["../../Python 3.0/python-tetris-clone"], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in executable 'todara'", + "cargo": { + "args": [ + "test", + "--no-run", + "--bin=todara", + "--package=todara" + ], + "filter": { + "name": "todara", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + } + ] +} \ No newline at end of file