-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathlaunch.json
More file actions
91 lines (86 loc) · 2.78 KB
/
launch.json
File metadata and controls
91 lines (86 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/golang/hello"
},
{
"name": "Launch file",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/golang/hello/main.go"
},
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
// Resolved by CMake Tools:
"program": "${command:cmake.launchTargetPath}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/cmakeQuickStart",
"environment": [
{
// add the directory where our target was built to the PATHs
// it gets resolved by CMake Tools:
"name": "PATH",
"value": "${env:PATH}:${command:cmake.getLaunchTargetDirectory}"
},
{
"name": "OTHER_VALUE",
"value": "Something something"
}
],
"console": "externalTerminal",
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}, {
"name": "Remote GDB",
"type": "cppdbg",
"request": "launch",
"preLaunchTask": "Build_Android",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/android/build_arm64-v8a/hello",
"additionalSOLibSearchPath": "${workspaceRoot}",
"miDebuggerServerAddress": "172.19.101.17:5039",
"windows": {
"miDebuggerPath": "",
"MIMode": "gdb"
},
"osx": {
"miDebuggerPath": "/Applications/AndroidNDK8568313.app/Contents/NDK/prebuilt/darwin-x86_64/bin/gdb",
"MIMode": "gdb"
},
"linux": {
"miDebuggerPath": "/opt/ndk/android-ndk-r23b/prebuilt/linux-x86_64/bin/gdb",
"MIMode": "gdb"
},
},{
"name": "qt_hello",
"type": "cppdbg",
"preLaunchTask": "QMAKE",
"request": "launch",
"program": "${workspaceFolder}/qt/hello",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/qt",
"environment": [],
"externalConsole": false,
"MIMode": "gdb"
}
]
}