You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.9 KiB

  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",
  9. "type": "cppdbg",
  10. "request": "launch",
  11. "program": "${workspaceFolder}/${fileBasenameNoExtension}",
  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": false
  23. }
  24. ],
  25. "windows": {
  26. "miDebuggerPath": "C:/raylib/mingw/bin/gdb.exe",
  27. },
  28. "osx": {
  29. "MIMode": "lldb"
  30. },
  31. "linux": {
  32. "miDebuggerPath": "/usr/bin/gdb",
  33. },
  34. "preLaunchTask": "build debug"
  35. },
  36. {
  37. "name": "Run",
  38. "type": "cppdbg",
  39. "request": "launch",
  40. "args": [],
  41. "stopAtEntry": false,
  42. "cwd": "${workspaceFolder}",
  43. "environment": [],
  44. "externalConsole": false,
  45. "program": "${workspaceFolder}/${fileBasenameNoExtension}",
  46. "MIMode": "gdb",
  47. "windows": {
  48. "program": "${workspaceFolder}/${fileBasenameNoExtension}.exe",
  49. "miDebuggerPath": "C:/raylib/mingw/bin/gdb.exe"
  50. },
  51. "osx": {
  52. "MIMode": "lldb"
  53. },
  54. "linux": {
  55. "miDebuggerPath": "/usr/bin/gdb"
  56. },
  57. "preLaunchTask": "build release",
  58. }
  59. ]
  60. }