summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <amorales@fluendo.com>2021-11-17 10:55:25 +0000
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-04-13 16:36:09 +0000
commit083da950f4841d680d1e8f8a9e2cd39897eefe10 (patch)
tree83ecd58128620071587d51957511dc86e0612a10 /.vscode
parente890e6e8d8bd581ff19b038b5c7077e45cb9a60b (diff)
downloadgstreamer-083da950f4841d680d1e8f8a9e2cd39897eefe10.tar.gz
vscode: add VSCode IDE integration
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1386>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000000..51f1064b4f
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,52 @@
+{
+ // Use IntelliSense to learn about possible attributes.
+ // Hover to view descriptions of existing attributes.
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+ //
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "GStreamer - Build and debug",
+ "request": "launch",
+ "type": "cppdbg",
+ "windows": {
+ "type": "cppvsdbg",
+ "program": "gst-launch-1.0.exe",
+ },
+ "osx": {
+ // https://github.com/microsoft/vscode-cpptools/issues/8411
+ "MIMode": "lldb",
+ },
+ "linux": {
+ "MIMode": "gdb"
+ },
+ "envFile": "${workspaceFolder}/${config:mesonbuild.buildFolder}/meson-vscode.env",
+ "cwd": "${workspaceFolder}/${config:mesonbuild.buildFolder}/subprojects/gstreamer/tools/",
+ "program": "${workspaceFolder}/${config:mesonbuild.buildFolder}/subprojects/gstreamer/tools/gst-launch-1.0",
+ "args": [
+ "videotestsrc",
+ "!",
+ "autovideosink"
+ ],
+ "environment": [
+ {
+ "name": "GST_DEBUG",
+ "value": "4"
+ },
+ ],
+ "stopAtEntry": false,
+ "preLaunchTask": "Meson: Build all targets",
+ "symbolOptions": {
+ "searchPaths": [
+ "${workspaceFolder}/${config:mesonbuild.buildFolder}",
+ ],
+ "searchMicrosoftSymbolServer": true,
+ "cachePath": "${workspaceFolder}\\${config:mesonbuild.buildFolder}\\cache",
+ "moduleFilter": {
+ "mode": "loadAllButExcluded",
+ "excludedModules": []
+ }
+ }
+ }
+ ]
+}