aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2021-11-22 12:26:11 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2021-11-22 12:26:11 +0200
commit484d5eee7a4dd303683a1bb718ea3a84bdf019be (patch)
treeac35445b02f21e4704cb027eb2c4e12ed99f9e92 /.vscode/launch.json
parentcf3e54525f0b63adf9ab086bf03751ed232fb0b5 (diff)
Add launch.json
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json49
1 files changed, 49 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..c4c60c9
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,49 @@
+{
+ // 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 'prog-lang-dev1'",
+ "cargo": {
+ "args": [
+ "build",
+ "--bin=prog-lang-dev1",
+ "--package=prog-lang-dev1"
+ ],
+ "filter": {
+ "name": "prog-lang-dev1",
+ "kind": "bin"
+ }
+ },
+ "args": [
+ "samples/sample1.code"
+ ],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in executable 'prog-lang-dev1'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--bin=prog-lang-dev1",
+ "--package=prog-lang-dev1"
+ ],
+ "filter": {
+ "name": "prog-lang-dev1",
+ "kind": "bin"
+ }
+ },
+ "args": [
+ "samples/sample1.code"
+ ],
+ "cwd": "${workspaceFolder}"
+ }
+ ]
+} \ No newline at end of file