launch.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 unittest",
  9. "type": "cppdbg",
  10. "request": "launch",
  11. "program": "${workspaceFolder}/output/test/unittest/unittest",
  12. "args": [],
  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 test",
  26. "miDebuggerPath": "/usr/bin/gdb"
  27. },
  28. {
  29. "name": "debug integrationtest",
  30. "type": "cppdbg",
  31. "request": "launch",
  32. "program": "${workspaceFolder}/output/test/integrationtest/integrationtest",
  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 integrationtest",
  47. "miDebuggerPath": "/usr/bin/gdb"
  48. }
  49. ]
  50. }