-
Notifications
You must be signed in to change notification settings - Fork 0
/
launch.vs.json
48 lines (48 loc) · 1.55 KB
/
launch.vs.json
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
{
"version": "0.2.1",
"defaults": {},
"configurations": [
{
"type": "cppgdb",
"name": "MyLib_ut (X debug)",
"project": "CMakeLists.txt",
"projectTarget": "MyLib_ut (bin\\MyLib_ut)",
"comment": "Learn how to configure WSL debugging. See here for more info http://aka.ms/vslinuxdebug",
"debuggerConfiguration": "gdb",
"args": [],
"env": {
"LD_LIBRARY_PATH": "/.vs/lib"
},
"remoteMachineName": "${env.REMOTE_DEBUG_MACHINE}",
"deploy": [
{
"deploymentType": "LocalRemote",
"targetMachine": "${env.REMOTE_DEBUG_MACHINE}",
"sourcePath": "${workspaceRoot}/out/build/remote-debug/lib/", //deploy .so to remote machine
"targetPath": "/.vs/lib"
}
]
},
{
"type": "cppgdb",
"name": "MyLib_ut (X debug showcase)",
"project": "CMakeLists.txt",
"projectTarget": "MyLib_ut (bin\\MyLib_ut)",
"comment": "Learn how to configure WSL debugging. See here for more info http://aka.ms/vslinuxdebug",
"debuggerConfiguration": "gdb",
"args": [],
"env": {
"LD_LIBRARY_PATH": "/.vs/lib"
},
"remoteMachineName": "${env.REMOTE_DEBUG_MACHINE}",
"deploy": [
{
"deploymentType": "LocalRemote",
"targetMachine": "${env.REMOTE_DEBUG_MACHINE}",
"sourcePath": "${workspaceRoot}/out/build/remote-debug-showcase/lib/", //deploy .so to remote machine
"targetPath": "/.vs/lib"
}
]
}
]
}