Files
VideoPipe/.vscode/launch.json
2026-06-03 12:43:14 +08:00

92 lines
3.3 KiB
JSON

{
// 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": "debug samples for videopipe", // debug for samples in videopipe
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/bin/${fileBasenameNoExtension}",
"args": [""],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/..", // change this value to the path of your vp_data
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": ""
},
{
"name": "debug complex samples for videopipe", // debug for complex samples in videopipe
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": ["../../.."], // change this value to the path of your vp_data
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": ""
},
{
"name": "debug trt_yolov8 samples", // debug for trt samples at third_party/trt_yolov8
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/third_party/trt_yolov8/build/samples/${fileBasenameNoExtension}",
"args": [""],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/..",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": ""
},
{
"name": "debug trt_vehicle samples", // debug for trt samples at third_party/trt_vehicle
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/third_party/trt_vehicle/build/samples/${fileBasenameNoExtension}",
"args": [""],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/..",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": ""
}
]
}