launch.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 unit tests in library 'wgpu5'",
  11. "cargo": {
  12. "args": [
  13. "test",
  14. "--no-run",
  15. "--lib",
  16. "--package=wgpu5"
  17. ],
  18. "filter": {
  19. "name": "wgpu5",
  20. "kind": "lib"
  21. }
  22. },
  23. "args": [],
  24. "cwd": "${workspaceFolder}"
  25. },
  26. {
  27. "type": "lldb",
  28. "request": "launch",
  29. "name": "Debug executable 'wgpu5'",
  30. "cargo": {
  31. "args": [
  32. "build",
  33. "--bin=wgpu5",
  34. "--package=wgpu5"
  35. ],
  36. "filter": {
  37. "name": "wgpu5",
  38. "kind": "bin"
  39. }
  40. },
  41. "args": [],
  42. "cwd": "${workspaceFolder}"
  43. },
  44. {
  45. "type": "lldb",
  46. "request": "launch",
  47. "name": "Debug unit tests in executable 'wgpu5'",
  48. "cargo": {
  49. "args": [
  50. "test",
  51. "--no-run",
  52. "--bin=wgpu5",
  53. "--package=wgpu5"
  54. ],
  55. "filter": {
  56. "name": "wgpu5",
  57. "kind": "bin"
  58. }
  59. },
  60. "args": [],
  61. "cwd": "${workspaceFolder}"
  62. }
  63. ]
  64. }