launch.json 808 B

12345678910111213141516171819202122
  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. "type": "lldb",
  9. "request": "launch",
  10. "name": "Debug RISCV64 elf",
  11. "stopOnEntry": false,
  12. "preLaunchTask": "DragonOS: Start riscv64",
  13. "targetCreateCommands": ["target create ${workspaceFolder}/bin/riscv64/kernel/kernel.elf"],
  14. "processCreateCommands": [
  15. "gdb-remote localhost:1234",
  16. "continue" // Get over the first trap into the kernel
  17. ],
  18. "args": [],
  19. "cwd": "${workspaceFolder}",
  20. }
  21. ]
  22. }