launch.json 878 B

12345678910111213141516171819202122232425262728
  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": "(gdb) Launch",
  9. "type": "cppdbg",
  10. "request": "launch",
  11. "program": "${workspaceRoot}/main",
  12. "args": [],
  13. "stopAtEntry": false,
  14. "cwd": "${workspaceRoot}",
  15. "environment": [],
  16. "MIMode": "gdb",
  17. "miDebuggerPath": "/usr/bin/gdb",
  18. "setupCommands": [
  19. {
  20. "description": "Enable pretty-printing for gdb",
  21. "text": "-enable-pretty-printing",
  22. "ignoreFailures": false
  23. }
  24. ]
  25. }
  26. ]
  27. }