launch.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. "name": "debug example",
  9. "type": "cppdbg",
  10. "request": "launch",
  11. "program": "${workspaceFolder}/output/example/example",
  12. "args": ["/dev/pts/2"],
  13. "stopAtEntry": false,
  14. "cwd": "${workspaceFolder}",
  15. "environment": [],
  16. "externalConsole": false,
  17. "MIMode": "gdb",
  18. "setupCommands": [
  19. {
  20. "description": "Enable pretty-printing for gdb",
  21. "text": "-enable-pretty-printing",
  22. "ignoreFailures": true
  23. }
  24. ],
  25. "preLaunchTask": "make example",
  26. "miDebuggerPath": "/usr/bin/gdb"
  27. },
  28. {
  29. "name": "debug unittest",
  30. "type": "cppdbg",
  31. "request": "launch",
  32. "program": "${workspaceFolder}/output/test/unittest/unittest",
  33. "args": [],
  34. "stopAtEntry": false,
  35. "cwd": "${workspaceFolder}",
  36. "environment": [],
  37. "externalConsole": false,
  38. "MIMode": "gdb",
  39. "setupCommands": [
  40. {
  41. "description": "Enable pretty-printing for gdb",
  42. "text": "-enable-pretty-printing",
  43. "ignoreFailures": true
  44. }
  45. ],
  46. "preLaunchTask": "make test",
  47. "miDebuggerPath": "/usr/bin/gdb"
  48. },
  49. {
  50. "name": "debug integrationtest",
  51. "type": "cppdbg",
  52. "request": "launch",
  53. "program": "${workspaceFolder}/output/test/integrationtest/integrationtest",
  54. "args": [],
  55. "stopAtEntry": false,
  56. "cwd": "${workspaceFolder}",
  57. "environment": [],
  58. "externalConsole": false,
  59. "MIMode": "gdb",
  60. "setupCommands": [
  61. {
  62. "description": "Enable pretty-printing for gdb",
  63. "text": "-enable-pretty-printing",
  64. "ignoreFailures": true
  65. }
  66. ],
  67. "preLaunchTask": "make integrationtest",
  68. "miDebuggerPath": "/usr/bin/gdb"
  69. },
  70. {
  71. "name": "debug integrationtest_auth",
  72. "type": "cppdbg",
  73. "request": "launch",
  74. "program": "${workspaceFolder}/output/test/integrationtest_auth/integrationtest_auth",
  75. "args": [],
  76. "stopAtEntry": false,
  77. "cwd": "${workspaceFolder}",
  78. "environment": [],
  79. "externalConsole": false,
  80. "MIMode": "gdb",
  81. "setupCommands": [
  82. {
  83. "description": "Enable pretty-printing for gdb",
  84. "text": "-enable-pretty-printing",
  85. "ignoreFailures": true
  86. }
  87. ],
  88. "preLaunchTask": "make integrationtest_auth",
  89. "miDebuggerPath": "/usr/bin/gdb"
  90. },
  91. {
  92. "name": "debug integrationtest_transport",
  93. "type": "cppdbg",
  94. "request": "launch",
  95. "program": "${workspaceFolder}/output/test/integrationtest_transport/integrationtest_transport",
  96. "args": [],
  97. "stopAtEntry": false,
  98. "cwd": "${workspaceFolder}",
  99. "environment": [],
  100. "externalConsole": false,
  101. "MIMode": "gdb",
  102. "setupCommands": [
  103. {
  104. "description": "Enable pretty-printing for gdb",
  105. "text": "-enable-pretty-printing",
  106. "ignoreFailures": true
  107. }
  108. ],
  109. "preLaunchTask": "make integrationtest_transport",
  110. "miDebuggerPath": "/usr/bin/gdb"
  111. }
  112. ]
  113. }