1{ 2 "version": "0.2.0", 3 "configurations": [ 4 5 { 6 "name": "SubzeroTest", 7 "type": "cppdbg", 8 "request": "launch", 9 "program": "${workspaceRoot}/build/SubzeroTest", 10 "args": [], 11 "stopAtEntry": false, 12 "cwd": "${workspaceRoot}", 13 "environment": [], 14 "externalConsole": true, 15 "linux": { 16 "MIMode": "gdb", 17 "setupCommands": [ 18 { 19 "description": "Enable pretty-printing for gdb", 20 "text": "-enable-pretty-printing", 21 "ignoreFailures": true 22 } 23 ] 24 }, 25 "osx": { 26 "MIMode": "lldb" 27 }, 28 "windows": { 29 "MIMode": "gdb", 30 "setupCommands": [ 31 { 32 "description": "Enable pretty-printing for gdb", 33 "text": "-enable-pretty-printing", 34 "ignoreFailures": true 35 } 36 ] 37 } 38 }, 39 { 40 "name": "OGLES2HelloAPI", 41 "type": "cppdbg", 42 "request": "launch", 43 "program": "${workspaceRoot}/build/OGLES2HelloAPI", 44 "args": [], 45 "stopAtEntry": false, 46 "cwd": "${workspaceRoot}", 47 "environment": [], 48 "externalConsole": true, 49 "linux": { 50 "MIMode": "gdb", 51 "setupCommands": [ 52 { 53 "description": "Enable pretty-printing for gdb", 54 "text": "-enable-pretty-printing", 55 "ignoreFailures": true 56 } 57 ] 58 }, 59 "osx": { 60 "MIMode": "lldb" 61 }, 62 "windows": { 63 "MIMode": "gdb", 64 "setupCommands": [ 65 { 66 "description": "Enable pretty-printing for gdb", 67 "text": "-enable-pretty-printing", 68 "ignoreFailures": true 69 } 70 ] 71 } 72 }, 73 { 74 "name": "C++ Attach", 75 "type": "cppdbg", 76 "request": "attach", 77 "program": "enter program name, for example ${workspaceRoot}/a.out", 78 "processId": "${command:pickProcess}", 79 "linux": { 80 "MIMode": "gdb", 81 "setupCommands": [ 82 { 83 "description": "Enable pretty-printing for gdb", 84 "text": "-enable-pretty-printing", 85 "ignoreFailures": true 86 } 87 ] 88 }, 89 "osx": { 90 "MIMode": "lldb" 91 }, 92 "windows": { 93 "MIMode": "gdb", 94 "setupCommands": [ 95 { 96 "description": "Enable pretty-printing for gdb", 97 "text": "-enable-pretty-printing", 98 "ignoreFailures": true 99 } 100 ] 101 } 102 } 103 ] 104}