Skip to content

Commit d9b3e9f

Browse files
committed
add debug laubch file for vscode
1 parent 197c79c commit d9b3e9f

File tree

2 files changed

+86
-0
lines changed

2 files changed

+86
-0
lines changed

.vscode/launch.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
"name": "C++ Launch",
9+
"type": "cppdbg",
10+
"request": "launch",
11+
"program": "/home/zqi/sbx/tensorrt-github-samples/build/sample_onnx_mnist_debug",
12+
"args": ["-d", "/home/zqi/sbx/data/tensorrt-sample-data/mnist/", "--fp16"],
13+
"environment": [{ "name": "config", "value": "Debug" }],
14+
"MIMode": "gdb",
15+
"miDebuggerPath": "/usr/bin/gdb",
16+
"cwd": "${workspaceFolder}"
17+
}
18+
]
19+
20+
}

.vscode/settings.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"files.associations": {
3+
"cassert": "cpp",
4+
"array": "cpp",
5+
"atomic": "cpp",
6+
"bit": "cpp",
7+
"*.tcc": "cpp",
8+
"cctype": "cpp",
9+
"chrono": "cpp",
10+
"clocale": "cpp",
11+
"cmath": "cpp",
12+
"compare": "cpp",
13+
"concepts": "cpp",
14+
"condition_variable": "cpp",
15+
"cstdarg": "cpp",
16+
"cstddef": "cpp",
17+
"cstdint": "cpp",
18+
"cstdio": "cpp",
19+
"cstdlib": "cpp",
20+
"cstring": "cpp",
21+
"ctime": "cpp",
22+
"cwchar": "cpp",
23+
"cwctype": "cpp",
24+
"deque": "cpp",
25+
"list": "cpp",
26+
"map": "cpp",
27+
"set": "cpp",
28+
"string": "cpp",
29+
"unordered_map": "cpp",
30+
"unordered_set": "cpp",
31+
"vector": "cpp",
32+
"exception": "cpp",
33+
"algorithm": "cpp",
34+
"functional": "cpp",
35+
"iterator": "cpp",
36+
"memory": "cpp",
37+
"memory_resource": "cpp",
38+
"numeric": "cpp",
39+
"random": "cpp",
40+
"ratio": "cpp",
41+
"string_view": "cpp",
42+
"system_error": "cpp",
43+
"tuple": "cpp",
44+
"type_traits": "cpp",
45+
"utility": "cpp",
46+
"fstream": "cpp",
47+
"initializer_list": "cpp",
48+
"iomanip": "cpp",
49+
"iosfwd": "cpp",
50+
"iostream": "cpp",
51+
"istream": "cpp",
52+
"limits": "cpp",
53+
"mutex": "cpp",
54+
"new": "cpp",
55+
"numbers": "cpp",
56+
"ostream": "cpp",
57+
"semaphore": "cpp",
58+
"sstream": "cpp",
59+
"stdexcept": "cpp",
60+
"stop_token": "cpp",
61+
"streambuf": "cpp",
62+
"thread": "cpp",
63+
"cinttypes": "cpp",
64+
"typeinfo": "cpp"
65+
}
66+
}

0 commit comments

Comments
 (0)