summaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-12 17:57:25 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:41:14 +0200
commitdbe60c0125a1b8b7c967049a699930ca893c3271 (patch)
treea797ab6849521ea6b41f79a4b41c8e3311ef2fde /.vscode/launch.json
parent2eab98674426d4287b9a9f4d34ab7b5ced5cfdc9 (diff)
Improve vscode workspace settings
2 debug mode: - One first run which clean any trace of timestamp record on disk - the other which keep timestamp file Cleaning Change-Id: I80f1d8e4ad574c14b3312da0e8691c49ed17e9fb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json31
1 files changed, 30 insertions, 1 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 96e8c85..5dbce66 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -5,9 +5,10 @@
"version": "0.2.0",
"configurations": [
{
- "name": "(gdb) Launch",
+ "name": "First_run",
"type": "cppdbg",
"request": "launch",
+ "preLaunchTask": "first_run",
"program": "/opt/AGL/bin/afb-daemon",
"args": [ "--rootdir=${workspaceRoot}/build/package/",
"--workdir=${workspaceRoot}/build/package/",
@@ -31,6 +32,34 @@
"ignoreFailures": true
}
]
+ },
+ {
+ "name": "Resuming_run",
+ "type": "cppdbg",
+ "request": "launch",
+ "program": "/opt/bin/afb-daemon",
+ "args": [ "--rootdir=${workspaceRoot}/build/package/",
+ "--workdir=${workspaceRoot}/build/package/",
+ "--ldpaths=lib",
+ "--roothttp=.",
+ "--tracereq=common",
+ "--token=1",
+ "--verbose",
+ "--verbose",
+ "--verbose"],
+ "additionalSOLibSearchPath": "${workspaceRoot}/build/package/lib",
+ "stopAtEntry": false,
+ "cwd": "${workspaceRoot}/build/package",
+ "environment": [],
+ "externalConsole": true,
+ "MIMode": "gdb",
+ "setupCommands": [
+ {
+ "description": "Enable pretty-printing for gdb",
+ "text": "-enable-pretty-printing",
+ "ignoreFailures": true
+ }
+ ]
}
]
}