Skip to content

Commit 81462d5

Browse files
author
Declan Vong
authored
chore(debug): add launch.json configuration for CodeLLDB-based debugging (#457)
1 parent 40344b0 commit 81462d5

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.vscode/launch.json

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,22 @@
66
"configurations": [
77
{
88
"name": "Debug Tests",
9-
"type": "cppvsdbg",
9+
"type": "lldb",
1010
"request": "launch",
11-
"program": "${workspaceFolder}/target/debug/test-f8914282c3a53115.exe",
11+
"cargo": {
12+
"args": [
13+
"test",
14+
"--no-run",
15+
"--test=test",
16+
"--package=dprint-plugin-typescript"
17+
],
18+
"filter": {
19+
"name": "test",
20+
"kind": "test"
21+
}
22+
},
1223
"args": [],
13-
"stopAtEntry": false,
14-
"cwd": "${workspaceFolder}",
15-
"environment": [],
16-
"externalConsole": false,
17-
"preLaunchTask": "cargo test build"
24+
"cwd": "${workspaceFolder}"
1825
}
1926
]
2027
}

0 commit comments

Comments
 (0)