launch.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 executable 'spiral-rs'",
  11. "cargo": {
  12. "args": [
  13. "build",
  14. "--bin=spiral-rs",
  15. "--package=spiral-rs"
  16. ],
  17. "filter": {
  18. "name": "spiral-rs",
  19. "kind": "bin"
  20. }
  21. },
  22. "args": [],
  23. "cwd": "${workspaceFolder}"
  24. },
  25. {
  26. "type": "lldb",
  27. "request": "launch",
  28. "name": "Debug unit tests in executable 'spiral-rs'",
  29. "cargo": {
  30. "args": [
  31. "test",
  32. "--no-run",
  33. "--bin=spiral-rs",
  34. "--package=spiral-rs"
  35. ],
  36. "filter": {
  37. "name": "spiral-rs",
  38. "kind": "bin"
  39. }
  40. },
  41. "args": [],
  42. "cwd": "${workspaceFolder}"
  43. }
  44. ]
  45. }