Skip to content

Commit 5383572

Browse files
committed
Add VSCode debug launch config
1 parent c6b491a commit 5383572

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
# Demo database and file number directories
44
*.db
55
trackers/
6+
7+
# Local IDE settings
8+
.vscode/settings.json

.vscode/launch.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "lldb",
9+
"request": "launch",
10+
"name": "Debug executable 'numtracker'",
11+
"cargo": {
12+
"args": [
13+
"build",
14+
"--bin=numtracker",
15+
"--package=numtracker"
16+
],
17+
"filter": {
18+
"name": "numtracker",
19+
"kind": "bin"
20+
}
21+
},
22+
"args": [],
23+
"cwd": "${workspaceFolder}"
24+
},
25+
{
26+
"type": "lldb",
27+
"request": "launch",
28+
"name": "Debug unit tests in executable 'numtracker'",
29+
"cargo": {
30+
"args": [
31+
"test",
32+
"--no-run",
33+
"--bin=numtracker",
34+
"--package=numtracker"
35+
],
36+
"filter": {
37+
"name": "numtracker",
38+
"kind": "bin"
39+
}
40+
},
41+
"args": [],
42+
"cwd": "${workspaceFolder}"
43+
}
44+
]
45+
}

0 commit comments

Comments
 (0)