Skip to content

Commit 18c396a

Browse files
committed
Debugger setup
1 parent ce492eb commit 18c396a

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.vscode/launch.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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 'substack_export'",
11+
"cargo": {
12+
"args": [
13+
"build",
14+
"--bin=substack_export",
15+
"--package=substack_export"
16+
],
17+
"filter": {
18+
"name": "substack_export",
19+
"kind": "bin"
20+
}
21+
},
22+
"args": [
23+
"https://nosaj.substack.com",
24+
"debug_files"
25+
],
26+
"cwd": "${workspaceFolder}"
27+
},
28+
{
29+
"type": "lldb",
30+
"request": "launch",
31+
"name": "Debug unit tests in executable 'substack_export'",
32+
"cargo": {
33+
"args": [
34+
"test",
35+
"--no-run",
36+
"--bin=substack_export",
37+
"--package=substack_export"
38+
],
39+
"filter": {
40+
"name": "substack_export",
41+
"kind": "bin"
42+
}
43+
},
44+
"args": [],
45+
"cwd": "${workspaceFolder}"
46+
}
47+
]
48+
}

0 commit comments

Comments
 (0)