Project

General

Profile

RE: Need help: Compile and test tvheadend from an IDE? » launch.json

Adrian Smith, 2022-11-19 17:36

 
1
{
2
    // Use IntelliSense to learn about possible attributes.
3
    // Hover to view descriptions of existing attributes.
4
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
    "version": "0.2.0",
6
    "configurations": [    
7
    {
8
        // for Linux
9
        "name": "(gdb) Launch TVH",
10
        "type": "cppdbg",
11
        "request": "launch",
12
        "program": "${workspaceRoot}/build.linux/tvheadend",
13
        "args": [],
14
        "stopAtEntry": false,
15
        "cwd": "${workspaceRoot}/build.linux",
16
        "environment": [],
17
        "externalConsole": false,
18
        "MIMode": "gdb",
19
        "preLaunchTask": "Build TVH",
20
        "setupCommands": [
21
          {
22
            "description": "Enable pretty-printing for gdb",
23
            "text": "-enable-pretty-printing",
24
            "ignoreFailures": true
25
          }
26
        ]
27
     }
28
  ]
29
}
(1-1/2)