From eeab94c30603f2abff87cbe9c4766bd08090de61 Mon Sep 17 00:00:00 2001 From: Nikolai Vavilov Date: Fri, 20 Sep 2024 20:54:30 +0300 Subject: [PATCH] chore: create launch.json for vscode (#154) --- .vscode/launch.json | 102 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..71149ed --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,102 @@ +{ + // 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 unit tests in library 'deno_task_shell'", + "cargo": { + "args": [ + "test", + "--no-run", + "--lib", + "--package=deno_task_shell" + ], + "filter": { + "name": "deno_task_shell", + "kind": "lib" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in library 'shell'", + "cargo": { + "args": [ + "test", + "--no-run", + "--lib", + "--package=shell" + ], + "filter": { + "name": "shell", + "kind": "lib" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug executable 'shell'", + "cargo": { + "args": [ + "build", + "--bin=shell", + "--package=shell" + ], + "filter": { + "name": "shell", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in executable 'shell'", + "cargo": { + "args": [ + "test", + "--no-run", + "--bin=shell", + "--package=shell" + ], + "filter": { + "name": "shell", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in library 'tests'", + "cargo": { + "args": [ + "test", + "--no-run", + "--lib", + "--package=tests" + ], + "filter": { + "name": "tests", + "kind": "lib" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + } + ] +} \ No newline at end of file