launch.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "name": "Debug RT-Thread",
  6. "type": "cppdbg",
  7. "request": "launch",
  8. "program": "${workspaceRoot}/rtthread.elf",
  9. "args": [],
  10. "stopAtEntry": true,
  11. "cwd": "${workspaceRoot}",
  12. "environment": [],
  13. "externalConsole": true,
  14. "miDebuggerServerAddress": "localhost:1234",
  15. "serverLaunchTimeout": 2000,
  16. "targetArchitecture": "ARM",
  17. "setupCommands": [
  18. {
  19. "text": "cd ${workspaceRoot}"
  20. },
  21. {
  22. "text": "file rtthread.elf"
  23. }
  24. ],
  25. "customLaunchSetupCommands": [],
  26. "launchCompleteCommand": "exec-run",
  27. "osx": {
  28. "MIMode": "gdb",
  29. "miDebuggerPath": "arm-none-eabi-gdb"
  30. },
  31. "linux": {
  32. "MIMode": "gdb",
  33. "miDebuggerPath": "gdb-multiarch"
  34. },
  35. "windows": {
  36. "MIMode": "gdb",
  37. "miDebuggerPath": "arm-none-eabi-gdb.exe"
  38. }
  39. }
  40. ]
  41. }